Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001062/0.001062, allocations: 98.7 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 197.7 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2594/0.2594, allocations: 45.91 MB / 344 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 8 kB / 417.9 MB, free: 20.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1434, allocations: 63.47 MB / 481.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003378/0.1468, allocations: 2.534 MB / 483.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1484, allocations: 1.025 MB / 484.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.1486, allocations: 11.94 kB / 485 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.033e-05/0.1487, allocations: 35.69 kB / 485 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.1489, allocations: 147.5 kB / 485.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.1494, allocations: 147.7 kB / 485.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.1498, allocations: 315.3 kB / 485.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.15, allocations: 86.12 kB / 485.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.1501, allocations: 143.5 kB / 485.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1504, allocations: 167.2 kB / 486 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.1504, allocations: 16 kB / 486 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1505, allocations: 47.91 kB / 486 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.1506, allocations: 55.77 kB / 486.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.415e-05/0.1507, allocations: 97.52 kB / 486.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.151, allocations: 319.4 kB / 486.5 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.151, allocations: 0 / 486.5 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.151, allocations: 0 / 486.5 MB, free: 320 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.151, allocations: 4 kB / 486.5 MB, free: 316 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001042/0.1521, allocations: 0.6394 MB / 487.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1521, allocations: 8.031 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.1524, allocations: 63.42 kB / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.1527, allocations: 293.4 kB / 487.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.1528, allocations: 25 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/0.1528, allocations: 43.91 kB / 487.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.1534, allocations: 363.6 kB / 487.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.1534, allocations: 4 kB / 487.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.1535, allocations: 12 kB / 487.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1535, allocations: 12 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.1539, allocations: 255.7 kB / 488.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.1559, allocations: 1.529 MB / 489.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006595/0.1566, allocations: 415.3 kB / 490.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.1566, allocations: 12.61 kB / 490.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.1567, allocations: 46.5 kB / 490.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.1567, allocations: 0 / 490.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.003054/0.1598, allocations: 1.979 MB / 492.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.948e-05/0.1599, allocations: 191.9 kB / 492.4 MB, free: 9.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.1601, allocations: 251 kB / 492.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.1602, allocations: 33.7 kB / 492.6 MB, free: 9.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.1603, allocations: 204.3 kB / 492.8 MB, free: 9.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.1605, allocations: 185.3 kB / 493 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.1605, allocations: 15.94 kB / 493 MB, free: 9.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1606, allocations: 346.8 kB / 493.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.1609, allocations: 121.2 kB / 493.5 MB, free: 8.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.1612, allocations: 292 kB / 493.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.1615, allocations: 164 kB / 493.9 MB, free: 8.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1615, allocations: 7.938 kB / 493.9 MB, free: 8.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008096/0.1623, allocations: 488.6 kB / 494.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.1624, allocations: 8 kB / 494.4 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.1624, allocations: 4.391 kB / 494.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.1624, allocations: 8 kB / 494.4 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.1629, allocations: 140.2 kB / 494.6 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.811e-05/0.163, allocations: 19.92 kB / 494.6 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.1632, allocations: 27.95 kB / 494.6 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.1633, allocations: 24 kB / 494.6 MB, free: 7.461 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0002042/0.1635, allocations: 165.7 kB / 494.8 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.1637, allocations: 35.62 kB / 494.8 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.164, allocations: 123.3 kB / 495 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.164, allocations: 12 kB / 495 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.164, allocations: 0 / 495 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.164, allocations: 8.266 kB / 495 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.166, allocations: 1.276 MB / 496.3 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.1661, allocations: 4 kB / 496.3 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/0.1666, allocations: 127.8 kB / 496.4 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.1666, allocations: 4 kB / 496.4 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.1666, allocations: 12 kB / 496.4 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.1666, allocations: 8 kB / 496.4 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.1667, allocations: 7.938 kB / 496.4 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.1679, allocations: 1.183 MB / 497.6 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.168, allocations: 104.7 kB / 497.7 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.1681, allocations: 16 kB / 497.7 MB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.1684, allocations: 15.98 kB / 497.7 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/0.1685, allocations: 47.84 kB / 497.8 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.1686, allocations: 16 kB / 497.8 MB, free: 4.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.1687, allocations: 174 kB / 498 MB, free: 3.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1688, allocations: 0 / 498 MB, free: 3.859 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006845/0.1694, allocations: 96 kB / 498.1 MB, free: 3.766 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,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 (49): * Single equations (assignments): 49 * 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.0002099/0.1697, allocations: 119.6 kB / 498.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000769/0.1704, allocations: 338.6 kB / 498.5 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.1705, allocations: 4 kB / 498.5 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.1708, allocations: 169.2 kB / 498.7 MB, free: 3.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/0.1716, allocations: 74.66 kB / 498.7 MB, free: 3.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.1751, allocations: 1.778 MB / 0.4888 GB, free: 1.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007659/0.1759, allocations: 0.8277 MB / 0.4896 GB, free: 368 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002765/0.1761, allocations: 43.33 kB / 0.4896 GB, free: 324 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.1763, allocations: 43.7 kB / 0.4897 GB, free: 280 kB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1763, allocations: 0 / 0.4897 GB, free: 280 kB / 366.1 MB Notification: Performance of Templates: time 0.00975/0.186, allocations: 3.49 MB / 0.4931 GB, free: 12.81 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches