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.000827/0.0008271, allocations: 100.1 kB / 17 MB, free: 6.477 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.0008914/0.0008915, allocations: 185.7 kB / 17.89 MB, free: 5.922 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.465/1.465, allocations: 223.2 MB / 241.9 MB, free: 360 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2127/0.2127, allocations: 44.26 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003945, allocations: 8 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1316, allocations: 61.92 MB / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002954/0.1346, allocations: 2.348 MB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1363, allocations: 0.9003 MB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.1366, allocations: 4 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.1367, allocations: 35.7 kB / 474.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.137, allocations: 95.23 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.1375, allocations: 119.7 kB / 475.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.1379, allocations: 346.3 kB / 475.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.1382, allocations: 81.47 kB / 475.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.1384, allocations: 123.5 kB / 475.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.1386, allocations: 135.4 kB / 475.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.1387, allocations: 16 kB / 475.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1388, allocations: 24 kB / 475.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.1388, allocations: 55.75 kB / 475.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.036e-05/0.1389, allocations: 81.58 kB / 475.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1392, allocations: 267.5 kB / 476.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1393, allocations: 4 kB / 476.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1393, allocations: 0 / 476.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.1393, allocations: 0 / 476.2 MB, free: 9.086 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.0009532/0.1402, allocations: 0.5729 MB / 476.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1403, allocations: 8.031 kB / 476.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.1405, allocations: 47.61 kB / 476.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.1409, allocations: 266.5 kB / 477.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.1409, allocations: 20.66 kB / 477.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.45e-05/0.141, allocations: 35.95 kB / 477.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.1415, allocations: 298.7 kB / 477.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.1415, allocations: 7.906 kB / 477.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.1415, allocations: 8 kB / 477.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1415, allocations: 8 kB / 477.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.1419, allocations: 200 kB / 477.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.1438, allocations: 1.297 MB / 478.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.1443, allocations: 332.8 kB / 479.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.1445, allocations: 112.2 kB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.1445, allocations: 8.469 kB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.1446, allocations: 38.55 kB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.854e-06/0.1446, allocations: 3.938 kB / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002579/0.1472, allocations: 1.57 MB / 481 MB, free: 3.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.1473, allocations: 170.1 kB / 481.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.1475, allocations: 213 kB / 481.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.1475, allocations: 37.69 kB / 481.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1477, allocations: 176.2 kB / 481.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.1478, allocations: 153.8 kB / 481.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.1478, allocations: 12 kB / 481.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.148, allocations: 338.8 kB / 482.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.1481, allocations: 97.08 kB / 482.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.1484, allocations: 248.1 kB / 482.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.1487, allocations: 132.1 kB / 482.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1487, allocations: 0 / 482.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006614/0.1493, allocations: 409 kB / 482.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.1494, allocations: 12.33 kB / 482.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1494, allocations: 8 kB / 483 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1494, allocations: 8 kB / 483 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.1498, allocations: 119.8 kB / 483.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.1499, allocations: 4 kB / 483.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.1501, allocations: 19.91 kB / 483.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.1501, allocations: 24 kB / 483.1 MB, free: 1.527 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001728/0.1503, allocations: 158.2 kB / 483.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.1504, allocations: 27.72 kB / 483.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.1507, allocations: 127.3 kB / 483.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.1507, allocations: 4 kB / 483.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.1507, allocations: 0 / 483.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.1507, allocations: 7.984 kB / 483.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.1523, allocations: 1.03 MB / 484.5 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/0.1523, allocations: 4 kB / 484.5 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.1528, allocations: 92.2 kB / 484.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.1528, allocations: 11.94 kB / 484.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.1528, allocations: 15.94 kB / 484.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.1528, allocations: 7.938 kB / 484.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1529, allocations: 4 kB / 484.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/0.1537, allocations: 0.823 MB / 485.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.061e-05/0.1538, allocations: 112.7 kB / 485.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.1538, allocations: 20.06 kB / 485.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.1541, allocations: 8 kB / 485.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.1542, allocations: 39.84 kB / 485.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.1542, allocations: 12 kB / 485.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1544, allocations: 152.5 kB / 485.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1544, allocations: 4 kB / 485.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005861/0.155, allocations: 88 kB / 485.9 MB, free: 14.63 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 (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.0001307/0.1551, allocations: 107.2 kB / 486 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005126/0.1556, allocations: 272.1 kB / 486.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1556, allocations: 64 / 486.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.1559, allocations: 136.5 kB / 486.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008883/0.1568, allocations: 61.06 kB / 486.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.159, allocations: 1.522 MB / 487.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.1595, allocations: 0.7845 MB / 488.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.1597, allocations: 35.28 kB / 488.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.995e-05/0.1598, allocations: 31.42 kB / 488.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1598, allocations: 4 kB / 488.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of Templates: time 0.007779/0.1676, allocations: 2.863 MB / 491.7 MB, free: 8.762 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