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/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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001226, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001014/0.001014, allocations: 194 kB / 18.12 MB, free: 5.383 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.558/1.558, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2629/0.2629, allocations: 44.18 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 64.11 kB / 407.7 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1365, allocations: 60.83 MB / 468.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00562/0.1421, allocations: 2.83 MB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.1445, allocations: 0.9386 MB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005412/0.145, allocations: 4 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.1454, allocations: 47.64 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005877/0.1461, allocations: 87.3 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006579/0.1468, allocations: 127.7 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006575/0.1475, allocations: 366.3 kB / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.1477, allocations: 65.7 kB / 473 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.148, allocations: 139.4 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.1482, allocations: 139.3 kB / 473.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.781e-05/0.1483, allocations: 16 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.1485, allocations: 35.98 kB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.1486, allocations: 55.75 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.1488, allocations: 163.2 kB / 473.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.1492, allocations: 355 kB / 473.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1492, allocations: 0 / 473.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1492, allocations: 0 / 473.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.1493, allocations: 0 / 473.8 MB, free: 9.516 MB / 350.1 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.001224/0.1505, allocations: 0.6237 MB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1505, allocations: 12.03 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002775/0.1508, allocations: 48.55 kB / 474.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.1513, allocations: 268.2 kB / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.1513, allocations: 25.03 kB / 474.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.1514, allocations: 36.3 kB / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006097/0.152, allocations: 302.7 kB / 475.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/0.1521, allocations: 15.84 kB / 475.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.1521, allocations: 12 kB / 475.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1521, allocations: 8 kB / 475.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.1525, allocations: 199.8 kB / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.1546, allocations: 1.28 MB / 476.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.1551, allocations: 336.8 kB / 477 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.1553, allocations: 112.2 kB / 477.1 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.1554, allocations: 4 kB / 477.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.1554, allocations: 51.34 kB / 477.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/0.1554, allocations: 0 / 477.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002867/0.1583, allocations: 1.57 MB / 478.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.009e-05/0.1584, allocations: 166.2 kB / 478.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.1586, allocations: 228.9 kB / 479.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.1587, allocations: 29.7 kB / 479.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1588, allocations: 176.2 kB / 479.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.1589, allocations: 153.8 kB / 479.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.159, allocations: 86.16 kB / 479.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1592, allocations: 342.8 kB / 479.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.1594, allocations: 97.08 kB / 480 MB, free: 2.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.1596, allocations: 239.6 kB / 480.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.1601, allocations: 373.7 kB / 480.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1601, allocations: 0 / 480.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006578/0.1607, allocations: 412.9 kB / 481 MB, free: 1.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.1608, allocations: 10.34 kB / 481 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.1608, allocations: 4.375 kB / 481 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.1608, allocations: 12 kB / 481 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.1612, allocations: 123.8 kB / 481.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.1613, allocations: 12.25 kB / 481.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.1615, allocations: 16 kB / 481.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.1615, allocations: 20 kB / 481.2 MB, free: 1.504 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.1617, allocations: 157.7 kB / 481.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.1618, allocations: 31.62 kB / 481.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.1621, allocations: 127.2 kB / 481.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1621, allocations: 7.938 kB / 481.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.1621, allocations: 4 kB / 481.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.1621, allocations: 3.984 kB / 481.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.1637, allocations: 1.03 MB / 482.5 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.1637, allocations: 4 kB / 482.5 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/0.1642, allocations: 99.83 kB / 482.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.966e-06/0.1642, allocations: 8.25 kB / 482.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.1642, allocations: 16 kB / 482.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/0.1642, allocations: 4 kB / 482.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1642, allocations: 4.125 kB / 482.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008205/0.1651, allocations: 0.8266 MB / 483.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.1653, allocations: 108.7 kB / 483.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.1653, allocations: 12 kB / 483.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.1656, allocations: 20.05 kB / 483.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.1657, allocations: 39.83 kB / 483.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.1658, allocations: 8 kB / 483.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.1659, allocations: 156.5 kB / 483.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1659, allocations: 0 / 483.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005763/0.1665, allocations: 84 kB / 483.9 MB, free: 14.61 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002068/0.1667, allocations: 123.6 kB / 484 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004794/0.1672, allocations: 271.9 kB / 484.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1672, allocations: 0.75 kB / 484.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.1674, allocations: 136 kB / 484.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009346/0.1683, allocations: 68 kB / 484.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.1706, allocations: 1.369 MB / 485.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.1711, allocations: 0.7884 MB / 486.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.1713, allocations: 39.25 kB / 486.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.1714, allocations: 27.44 kB / 486.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1714, allocations: 3.938 kB / 486.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.007673/0.1791, allocations: 2.982 MB / 489.7 MB, free: 8.746 MB / 366.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches