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/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 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 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 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",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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 99.58 kB / 15.98 MB, free: 6.336 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.001467/0.001467, allocations: 191.1 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.1 MB / 222.8 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2374/0.2374, allocations: 43.51 MB / 313.6 MB, free: 0.7188 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 71.78 kB / 382.2 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1457, allocations: 57.8 MB / 440 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003837/0.1496, allocations: 2.811 MB / 442.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1512, allocations: 0.9862 MB / 443.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.1514, allocations: 7.938 kB / 443.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.1515, allocations: 43.69 kB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.1517, allocations: 91.23 kB / 443.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.1522, allocations: 127.7 kB / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000306/0.1525, allocations: 378.2 kB / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.1527, allocations: 89.34 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1528, allocations: 143.5 kB / 444.7 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.1529, allocations: 147.3 kB / 444.8 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.153, allocations: 28 kB / 444.8 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.652e-05/0.1531, allocations: 40 kB / 444.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.1531, allocations: 63.77 kB / 444.9 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.1533, allocations: 167.1 kB / 445.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.1535, allocations: 370.7 kB / 445.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1536, allocations: 0 / 445.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1536, allocations: 0 / 445.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1536, allocations: 3.938 kB / 445.5 MB, free: 1.887 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008414/0.1544, allocations: 0.6121 MB / 446.1 MB, free: 1.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1545, allocations: 12.03 kB / 446.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.1547, allocations: 56.45 kB / 446.1 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.155, allocations: 275.1 kB / 446.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.155, allocations: 21.03 kB / 446.4 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.155, allocations: 36.28 kB / 446.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.1555, allocations: 302.6 kB / 446.8 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.1555, allocations: 11.94 kB / 446.8 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.1555, allocations: 12 kB / 446.8 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.1555, allocations: 4 kB / 446.8 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.1558, allocations: 203.8 kB / 447 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.1575, allocations: 1.292 MB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/0.1581, allocations: 329.3 kB / 448.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.1582, allocations: 112.2 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1583, allocations: 4 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.1583, allocations: 42.5 kB / 448.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.713e-06/0.1583, allocations: 0 / 448.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002751/0.1611, allocations: 1.57 MB / 450.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/0.1612, allocations: 158.2 kB / 450.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.1614, allocations: 224.9 kB / 450.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1614, allocations: 37.7 kB / 450.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1616, allocations: 184.1 kB / 450.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.745e-05/0.1617, allocations: 145.9 kB / 451.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.1618, allocations: 86.16 kB / 451.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.162, allocations: 342.8 kB / 451.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.1622, allocations: 93.08 kB / 451.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.1625, allocations: 251.5 kB / 451.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/0.163, allocations: 370.9 kB / 452.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.163, allocations: 0 / 452.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006004/0.1636, allocations: 416.7 kB / 452.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.1637, allocations: 11.94 kB / 452.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1637, allocations: 4 kB / 452.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.1637, allocations: 8 kB / 452.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.1641, allocations: 115.8 kB / 452.7 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.1641, allocations: 4 kB / 452.7 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.1643, allocations: 32.19 kB / 452.8 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.1644, allocations: 27.98 kB / 452.8 MB, free: 9.863 MB / 334.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.0001635/0.1646, allocations: 161.7 kB / 452.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.1647, allocations: 31.62 kB / 453 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.165, allocations: 119.3 kB / 453.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.463e-06/0.165, allocations: 7.938 kB / 453.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.165, allocations: 4 kB / 453.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.165, allocations: 0 / 453.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.1665, allocations: 1.033 MB / 454.1 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1665, allocations: 4.125 kB / 454.1 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.167, allocations: 95.89 kB / 454.2 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.167, allocations: 4 kB / 454.2 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.167, allocations: 16 kB / 454.3 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.167, allocations: 7.938 kB / 454.3 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.167, allocations: 4 kB / 454.3 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008979/0.1679, allocations: 0.826 MB / 455.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.168, allocations: 100.8 kB / 455.2 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.1681, allocations: 19.98 kB / 455.2 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.1684, allocations: 8 kB / 455.2 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.1684, allocations: 35.84 kB / 455.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.1685, allocations: 16.23 kB / 455.3 MB, free: 7.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.1686, allocations: 156.5 kB / 455.4 MB, free: 7.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1686, allocations: 0 / 455.4 MB, free: 7.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000516/0.1691, allocations: 84 kB / 455.5 MB, free: 6.988 MB / 334.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.0001194/0.1692, allocations: 115.1 kB / 455.6 MB, free: 6.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005504/0.1698, allocations: 307.7 kB / 455.9 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1698, allocations: 112 / 455.9 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.17, allocations: 139.8 kB / 456 MB, free: 6.426 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009091/0.1709, allocations: 78.81 kB / 456.1 MB, free: 6.355 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.1733, allocations: 1.36 MB / 457.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.1737, allocations: 0.7841 MB / 458.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.1739, allocations: 47.25 kB / 458.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.174, allocations: 27.44 kB / 458.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of SimCode: time 6.52e-07/0.174, allocations: 0 / 458.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of Templates: time 0.006541/0.1806, allocations: 3.117 MB / 461.5 MB, free: 0.9688 MB / 334.1 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/jenkins/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