Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007638/0.0007637, allocations: 90.36 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3294/0.3294, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004063, allocations: 16 kB / 432.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1115, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3182/0.4298, allocations: 89.4 MB / 0.5672 GB, free: 12.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.4301, allocations: 59.98 kB / 0.5673 GB, free: 12.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01804/0.4482, allocations: 6.58 MB / 0.5737 GB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4482, allocations: 0 / 0.5737 GB, free: 5.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.4482, allocations: 8 kB / 0.5737 GB, free: 5.832 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.000749/0.449, allocations: 0.5598 MB / 0.5743 GB, free: 5.223 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.449, allocations: 8.031 kB / 0.5743 GB, free: 5.215 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.4492, allocations: 48.55 kB / 0.5743 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.4495, allocations: 275.3 kB / 0.5746 GB, free: 4.859 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.4496, allocations: 21.03 kB / 0.5746 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/0.4496, allocations: 32.38 kB / 0.5746 GB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.4501, allocations: 303 kB / 0.5749 GB, free: 4.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.4501, allocations: 3.906 kB / 0.5749 GB, free: 4.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.4502, allocations: 12 kB / 0.575 GB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.4502, allocations: 8 kB / 0.575 GB, free: 4.469 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.4505, allocations: 207.9 kB / 0.5752 GB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.4522, allocations: 1.287 MB / 0.5764 GB, free: 2.887 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.4526, allocations: 329.2 kB / 0.5767 GB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.4528, allocations: 109.7 kB / 0.5768 GB, free: 2.398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.4528, allocations: 11.92 kB / 0.5768 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.4529, allocations: 42.56 kB / 0.5769 GB, free: 2.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 1.703e-06/0.4529, allocations: 0 / 0.5769 GB, free: 2.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.002338/0.4552, allocations: 1.566 MB / 0.5784 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.4553, allocations: 166.2 kB / 0.5786 GB, free: 372 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.4555, allocations: 217 kB / 0.5788 GB, free: 152 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.4556, allocations: 37.7 kB / 0.5788 GB, free: 108 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.4557, allocations: 176.1 kB / 0.579 GB, free: 15.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.4558, allocations: 153.8 kB / 0.5791 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.4558, allocations: 8 kB / 0.5791 GB, free: 15.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.456, allocations: 346.7 kB / 0.5795 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.4561, allocations: 97.03 kB / 0.5796 GB, free: 15.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.4564, allocations: 239.6 kB / 0.5798 GB, free: 15.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.4568, allocations: 377.9 kB / 0.5801 GB, free: 14.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4568, allocations: 0 / 0.5801 GB, free: 14.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005664/0.4574, allocations: 400.8 kB / 0.5805 GB, free: 14.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4574, allocations: 12.31 kB / 0.5805 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4574, allocations: 8 kB / 0.5806 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.4575, allocations: 8 kB / 0.5806 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.4579, allocations: 111.8 kB / 0.5807 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.4579, allocations: 15.92 kB / 0.5807 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.4581, allocations: 19.91 kB / 0.5807 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.4581, allocations: 20.23 kB / 0.5807 GB, free: 14.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001576/0.4583, allocations: 157.7 kB / 0.5809 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.4584, allocations: 27.72 kB / 0.5809 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.4587, allocations: 127.3 kB / 0.581 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4587, allocations: 4 kB / 0.581 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.4587, allocations: 7.875 kB / 0.581 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.4587, allocations: 11.98 kB / 0.581 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.4601, allocations: 1.026 MB / 0.582 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4602, allocations: 4 kB / 0.582 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/0.4606, allocations: 95.89 kB / 0.5821 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.4606, allocations: 12.19 kB / 0.5821 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.4606, allocations: 15.98 kB / 0.5822 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.4606, allocations: 4 kB / 0.5822 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.4606, allocations: 4 kB / 0.5822 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.4614, allocations: 0.8177 MB / 0.583 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.4615, allocations: 116.7 kB / 0.5831 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.4615, allocations: 16 kB / 0.5831 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.4618, allocations: 12 kB / 0.5831 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.4619, allocations: 31.84 kB / 0.5831 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.4619, allocations: 16.22 kB / 0.5832 GB, free: 11.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001442/0.462, allocations: 156.5 kB / 0.5833 GB, free: 11.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4621, allocations: 0 / 0.5833 GB, free: 11.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005301/0.4626, allocations: 88.19 kB / 0.5834 GB, free: 11.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/0.4627, allocations: 111.2 kB / 0.5835 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004235/0.4632, allocations: 286.4 kB / 0.5838 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4632, allocations: 4.75 kB / 0.5838 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.4633, allocations: 131.8 kB / 0.5839 GB, free: 10.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008848/0.4642, allocations: 61.11 kB / 0.584 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.4663, allocations: 1.518 MB / 0.5854 GB, free: 8.945 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.4667, allocations: 0.7922 MB / 0.5862 GB, free: 8.129 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000188/0.4669, allocations: 34.97 kB / 0.5862 GB, free: 8.098 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.467, allocations: 27.44 kB / 0.5863 GB, free: 8.07 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.467, allocations: 0 / 0.5863 GB, free: 8.07 MB / 410.7 MB Notification: Performance of Templates: time 0.006215/0.4732, allocations: 2.883 MB / 0.5891 GB, free: 5.215 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches