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.001268/0.001267, allocations: 97.17 kB / 16.99 MB, free: 6.402 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.001059/0.001059, allocations: 178.2 kB / 17.88 MB, free: 5.957 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.521/1.521, allocations: 223.2 MB / 241.8 MB, free: 384 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.2229/0.2229, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 11.94 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 61.92 MB / 471.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002846/0.1375, allocations: 2.232 MB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1392, allocations: 0.8927 MB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.1394, allocations: 7.938 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.241e-05/0.1395, allocations: 35.69 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.1397, allocations: 127.7 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.1401, allocations: 111.7 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.1405, allocations: 267.4 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.1407, allocations: 77.55 kB / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.1408, allocations: 119.5 kB / 475.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.1411, allocations: 143.4 kB / 475.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.1411, allocations: 12 kB / 475.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1412, allocations: 28 kB / 475.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.1413, allocations: 51.77 kB / 475.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.1413, allocations: 81.58 kB / 475.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.1416, allocations: 267.5 kB / 475.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1417, allocations: 4 kB / 475.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1417, allocations: 3.938 kB / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1417, allocations: 0 / 475.9 MB, free: 9.305 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.0009584/0.1426, allocations: 0.5729 MB / 476.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1427, allocations: 12.03 kB / 476.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.1429, allocations: 47.61 kB / 476.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1433, allocations: 262.5 kB / 476.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.1433, allocations: 20.66 kB / 476.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.1434, allocations: 35.95 kB / 476.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.1438, allocations: 298.7 kB / 477.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.1439, allocations: 7.906 kB / 477.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.1439, allocations: 8 kB / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.1439, allocations: 11.98 kB / 477.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/0.1442, allocations: 200.4 kB / 477.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.1459, allocations: 1.277 MB / 478.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.1464, allocations: 337.1 kB / 478.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1465, allocations: 4 kB / 478.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1465, allocations: 38.56 kB / 479 MB, free: 5.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.553e-06/0.1465, allocations: 336 / 479 MB, free: 5.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002393/0.1489, allocations: 1.581 MB / 480.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.37e-05/0.149, allocations: 166.2 kB / 480.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.1492, allocations: 217 kB / 480.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1493, allocations: 33.64 kB / 481 MB, free: 3.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1494, allocations: 184.2 kB / 481.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.1495, allocations: 149.8 kB / 481.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.1495, allocations: 12 kB / 481.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1497, allocations: 334.8 kB / 481.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.1498, allocations: 97.08 kB / 481.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.1501, allocations: 232.2 kB / 482 MB, free: 2.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.1503, allocations: 140.7 kB / 482.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1503, allocations: 0 / 482.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005691/0.1509, allocations: 412.6 kB / 482.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1509, allocations: 8 kB / 482.5 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1509, allocations: 8.875 kB / 482.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.151, allocations: 12 kB / 482.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.1514, allocations: 115.8 kB / 482.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.1514, allocations: 15.92 kB / 482.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.1516, allocations: 19.91 kB / 482.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.1516, allocations: 16 kB / 482.7 MB, free: 1.883 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.000162/0.1518, allocations: 162.2 kB / 482.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.1519, allocations: 27.72 kB / 482.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.1521, allocations: 123.3 kB / 483 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.1521, allocations: 11.95 kB / 483 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1521, allocations: 0 / 483 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1522, allocations: 3.984 kB / 483 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.1535, allocations: 1.038 MB / 484.1 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1536, allocations: 4 kB / 484.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.154, allocations: 91.89 kB / 484.1 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.154, allocations: 8.25 kB / 484.2 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.154, allocations: 19.98 kB / 484.2 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.154, allocations: 4 kB / 484.2 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.466e-05/0.1541, allocations: 7.938 kB / 484.2 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008183/0.1549, allocations: 0.9641 MB / 485.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.155, allocations: 112.7 kB / 485.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.155, allocations: 12 kB / 485.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.1553, allocations: 12 kB / 485.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.1554, allocations: 35.84 kB / 485.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1554, allocations: 12.3 kB / 485.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1555, allocations: 160.4 kB / 485.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1555, allocations: 7.938 kB / 485.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005299/0.1561, allocations: 80 kB / 485.6 MB, free: 14.77 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.000121/0.1562, allocations: 111.2 kB / 485.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004283/0.1566, allocations: 272.1 kB / 485.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1566, allocations: 64 / 485.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.1568, allocations: 135.7 kB / 486.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.1574, allocations: 55.36 kB / 486.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.1594, allocations: 1.506 MB / 487.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1597, allocations: 0.7923 MB / 488.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001624/0.1599, allocations: 43.25 kB / 488.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.16, allocations: 27.44 kB / 488.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.16, allocations: 4 kB / 488.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of Templates: time 0.006182/0.1662, allocations: 2.843 MB / 491.3 MB, free: 8.922 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","../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches