Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 107.6 kB / 17.06 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 192 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000942/0.000942, allocations: 47.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.267, allocations: 49.42 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003079/0.2701, allocations: 1.798 MB / 402.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2711, allocations: 0.6349 MB / 403.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2713, allocations: 0 / 403.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.2714, allocations: 15.86 kB / 403.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.2716, allocations: 39.64 kB / 403.2 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.2718, allocations: 51.86 kB / 403.2 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.272, allocations: 123.4 kB / 403.4 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.2721, allocations: 37.36 kB / 403.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.212e-05/0.2722, allocations: 43.8 kB / 403.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.2723, allocations: 47.83 kB / 403.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.2723, allocations: 8 kB / 403.5 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.54e-05/0.2725, allocations: 27.98 kB / 403.5 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.2725, allocations: 15.92 kB / 403.5 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.2725, allocations: 55.75 kB / 403.6 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.2728, allocations: 128.7 kB / 403.7 MB, free: 5.863 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2728, allocations: 3.984 kB / 403.7 MB, free: 5.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2728, allocations: 0 / 403.7 MB, free: 5.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.2728, allocations: 0 / 403.7 MB, free: 5.859 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005479/0.2733, allocations: 415.2 kB / 404.1 MB, free: 5.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2734, allocations: 11.89 kB / 404.1 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.2736, allocations: 28.83 kB / 404.2 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.2738, allocations: 196.2 kB / 404.4 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.2739, allocations: 4.562 kB / 404.4 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.2739, allocations: 8.375 kB / 404.4 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.2741, allocations: 103.2 kB / 404.5 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2741, allocations: 0 / 404.5 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2741, allocations: 3.938 kB / 404.5 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.2741, allocations: 4 kB / 404.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.2743, allocations: 63.95 kB / 404.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.2749, allocations: 447.5 kB / 405 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.2752, allocations: 102.6 kB / 405.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.759e-05/0.2753, allocations: 32.84 kB / 405.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.2753, allocations: 4 kB / 405.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.2753, allocations: 38.5 kB / 405.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.2754, allocations: 0 / 405.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001354/0.2767, allocations: 0.5342 MB / 405.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.2768, allocations: 51.41 kB / 405.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.721e-05/0.2769, allocations: 122 kB / 405.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.2769, allocations: 25.7 kB / 405.9 MB, free: 3.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.2769, allocations: 107.9 kB / 406 MB, free: 3.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.277, allocations: 43.36 kB / 406 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.277, allocations: 37.7 kB / 406.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2771, allocations: 318.8 kB / 406.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.835e-05/0.2772, allocations: 27.98 kB / 406.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.2773, allocations: 55.42 kB / 406.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.2774, allocations: 95.36 kB / 406.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2774, allocations: 0 / 406.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002019/0.2777, allocations: 133.4 kB / 406.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2777, allocations: 8 kB / 406.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2777, allocations: 0 / 406.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2777, allocations: 4.047 kB / 406.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2779, allocations: 35.97 kB / 406.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2779, allocations: 0 / 406.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.2779, allocations: 7.938 kB / 406.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.2779, allocations: 8 kB / 406.7 MB, free: 2.516 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.151e-05/0.278, allocations: 121.8 kB / 406.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.2781, allocations: 7.906 kB / 406.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.2781, allocations: 20.36 kB / 406.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2781, allocations: 0 / 406.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2781, allocations: 0 / 406.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2782, allocations: 3.938 kB / 406.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.2787, allocations: 436 kB / 407.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2787, allocations: 0 / 407.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.2789, allocations: 31.98 kB / 407.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.2789, allocations: 3.938 kB / 407.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2789, allocations: 7.938 kB / 407.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2789, allocations: 0 / 407.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2789, allocations: 3.984 kB / 407.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.2792, allocations: 250.1 kB / 407.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.2792, allocations: 85.02 kB / 407.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.2793, allocations: 3.938 kB / 407.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.611e-05/0.2794, allocations: 4 kB / 407.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.2794, allocations: 12.03 kB / 407.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.2794, allocations: 4 kB / 407.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.07e-05/0.2795, allocations: 94.64 kB / 407.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2795, allocations: 4 kB / 407.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.2797, allocations: 28 kB / 407.8 MB, free: 1.309 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.441e-05/0.2798, allocations: 111.1 kB / 407.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.28, allocations: 91.89 kB / 408 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.28, allocations: 0 / 408 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.875e-05/0.2801, allocations: 39.92 kB / 408.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.2804, allocations: 22.58 kB / 408.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007309/0.2812, allocations: 464.2 kB / 408.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.2815, allocations: 0.7041 MB / 409.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.112e-05/0.2815, allocations: 12.88 kB / 409.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.2816, allocations: 11.44 kB / 409.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2816, allocations: 0 / 409.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of Templates: time 0.003557/0.2852, allocations: 1.129 MB / 410.4 MB, free: 14.69 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches