Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.conf.json 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) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) 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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009887/0.0009888, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.2 MB / 241 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000743/0.0007429, allocations: 91.92 kB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3019/0.3019, allocations: 44.22 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 8 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3395, allocations: 61.9 MB / 0.5095 GB, free: 37.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.454, allocations: 90.45 MB / 0.5979 GB, free: 4.699 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.4542, allocations: 83.95 kB / 0.598 GB, free: 4.617 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01783/0.4721, allocations: 6.671 MB / 0.6045 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4721, allocations: 0 / 0.6045 GB, free: 13.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.4721, allocations: 8 kB / 0.6045 GB, free: 13.92 MB / 426.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.0007815/0.4729, allocations: 0.5577 MB / 0.605 GB, free: 13.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.473, allocations: 8.25 kB / 0.605 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.4732, allocations: 51.55 kB / 0.6051 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.4734, allocations: 258.4 kB / 0.6053 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.4735, allocations: 20.66 kB / 0.6053 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.4735, allocations: 39.86 kB / 0.6054 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.474, allocations: 302.6 kB / 0.6057 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.474, allocations: 4 kB / 0.6057 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.474, allocations: 8 kB / 0.6057 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.474, allocations: 8 kB / 0.6057 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.4744, allocations: 200.4 kB / 0.6059 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.476, allocations: 1.295 MB / 0.6071 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.4765, allocations: 333.3 kB / 0.6075 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.4765, allocations: 7.984 kB / 0.6075 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.4765, allocations: 38.5 kB / 0.6075 GB, free: 10.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=36): time 1.753e-06/0.4765, allocations: 0 / 0.6075 GB, free: 10.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.002266/0.4788, allocations: 1.577 MB / 0.609 GB, free: 8.762 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.4789, allocations: 158.2 kB / 0.6092 GB, free: 8.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.4791, allocations: 196.1 kB / 0.6094 GB, free: 8.375 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.4791, allocations: 29.7 kB / 0.6094 GB, free: 8.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4792, allocations: 188.2 kB / 0.6096 GB, free: 8.152 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.551e-05/0.4793, allocations: 149.8 kB / 0.6097 GB, free: 8.004 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.4793, allocations: 12 kB / 0.6097 GB, free: 7.992 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4795, allocations: 334.8 kB / 0.6101 GB, free: 7.656 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.4796, allocations: 97.08 kB / 0.6102 GB, free: 7.562 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.4798, allocations: 244.1 kB / 0.6104 GB, free: 7.262 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.48, allocations: 129.5 kB / 0.6105 GB, free: 7.137 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.48, allocations: 0 / 0.6105 GB, free: 7.137 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005373/0.4806, allocations: 416.7 kB / 0.6109 GB, free: 6.723 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4806, allocations: 8 kB / 0.6109 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.4806, allocations: 7.953 kB / 0.6109 GB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.4807, allocations: 8 kB / 0.6109 GB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.481, allocations: 119.8 kB / 0.611 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.4811, allocations: 12.36 kB / 0.6111 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.4812, allocations: 20 kB / 0.6111 GB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.4813, allocations: 20 kB / 0.6111 GB, free: 6.531 MB / 426.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.0001426/0.4814, allocations: 158.2 kB / 0.6112 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.4815, allocations: 31.62 kB / 0.6113 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.4818, allocations: 123.2 kB / 0.6114 GB, free: 6.207 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.4818, allocations: 11.95 kB / 0.6114 GB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4818, allocations: 0 / 0.6114 GB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.4818, allocations: 7.984 kB / 0.6114 GB, free: 6.188 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.4831, allocations: 1.026 MB / 0.6124 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.4831, allocations: 4 kB / 0.6124 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.4836, allocations: 95.89 kB / 0.6125 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.4836, allocations: 12.17 kB / 0.6125 GB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.4837, allocations: 11.98 kB / 0.6125 GB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.4837, allocations: 4 kB / 0.6125 GB, free: 4.953 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4837, allocations: 4 kB / 0.6125 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007387/0.4844, allocations: 0.9724 MB / 0.6135 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.4845, allocations: 100.8 kB / 0.6136 GB, free: 3.738 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.4845, allocations: 12 kB / 0.6136 GB, free: 3.727 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.4848, allocations: 12.12 kB / 0.6136 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.4849, allocations: 47.84 kB / 0.6137 GB, free: 3.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.4849, allocations: 8 kB / 0.6137 GB, free: 3.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.4851, allocations: 160.5 kB / 0.6138 GB, free: 3.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4851, allocations: 0 / 0.6138 GB, free: 3.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005081/0.4856, allocations: 84 kB / 0.6139 GB, free: 3.418 MB / 426.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.0001248/0.4857, allocations: 111.2 kB / 0.614 GB, free: 3.297 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003983/0.4861, allocations: 275.4 kB / 0.6143 GB, free: 3.027 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4861, allocations: 4 kB / 0.6143 GB, free: 3.023 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.4863, allocations: 129 kB / 0.6144 GB, free: 2.898 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.4869, allocations: 64.69 kB / 0.6145 GB, free: 2.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.4887, allocations: 1.51 MB / 0.6159 GB, free: 1.273 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.489, allocations: 0.7961 MB / 0.6167 GB, free: 456 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.4892, allocations: 42.95 kB / 0.6167 GB, free: 412 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/0.4893, allocations: 27.44 kB / 0.6168 GB, free: 384 kB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4893, allocations: 0 / 0.6168 GB, free: 384 kB / 426.7 MB Notification: Performance of Templates: time 0.005571/0.4948, allocations: 2.852 MB / 0.6196 GB, free: 13.56 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches