Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001616/0.001616, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001704/0.001704, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 230.2 MB / 255.1 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2357/0.2357, allocations: 46.88 MB / 358.1 MB, free: 10.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5002,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.1.0-beta.om_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0-beta.om_ModelicaTest.Translational.TestBraking") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 81.06 kB / 0.4923 GB, free: 26.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1413, allocations: 65.98 MB / 0.5568 GB, free: 8.668 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004488/0.1458, allocations: 3.165 MB / 0.5599 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1478, allocations: 1.083 MB / 0.5609 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.148, allocations: 11.94 kB / 0.5609 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.1482, allocations: 63.31 kB / 0.561 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.1484, allocations: 122.9 kB / 0.5611 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.149, allocations: 179.6 kB / 0.5613 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000526/0.1495, allocations: 469.8 kB / 0.5617 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.1497, allocations: 83.52 kB / 0.5618 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.1499, allocations: 167.4 kB / 0.562 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.1502, allocations: 191.1 kB / 0.5621 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/0.1502, allocations: 32 kB / 0.5622 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.1504, allocations: 51.98 kB / 0.5622 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.1504, allocations: 75.75 kB / 0.5623 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.1506, allocations: 203 kB / 0.5625 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005386/0.1512, allocations: 446 kB / 0.5629 GB, free: 2.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1512, allocations: 4 kB / 0.5629 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1512, allocations: 0 / 0.5629 GB, free: 2.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.1512, allocations: 4 kB / 0.5629 GB, free: 2.316 MB / 414.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.00127/0.1525, allocations: 0.7013 MB / 0.5636 GB, free: 1.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1525, allocations: 12.03 kB / 0.5636 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003169/0.1528, allocations: 68.64 kB / 0.5637 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.1533, allocations: 302.7 kB / 0.564 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.1533, allocations: 25.38 kB / 0.564 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.1534, allocations: 36.38 kB / 0.564 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.154, allocations: 367.5 kB / 0.5644 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.1541, allocations: 11.95 kB / 0.5644 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.1541, allocations: 12 kB / 0.5644 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1541, allocations: 8 kB / 0.5644 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005151/0.1546, allocations: 251.7 kB / 0.5647 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.1569, allocations: 1.521 MB / 0.5661 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/0.1576, allocations: 399.7 kB / 0.5665 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.1578, allocations: 125.1 kB / 0.5666 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.1579, allocations: 11.92 kB / 0.5667 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1579, allocations: 42.56 kB / 0.5667 GB, free: 14.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.1579, allocations: 0 / 0.5667 GB, free: 14.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=48): time 0.003488/0.1614, allocations: 1.998 MB / 0.5686 GB, free: 11.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.1615, allocations: 191.9 kB / 0.5688 GB, free: 11.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.1618, allocations: 254.9 kB / 0.5691 GB, free: 11.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.1618, allocations: 33.7 kB / 0.5691 GB, free: 11.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.162, allocations: 208.7 kB / 0.5693 GB, free: 11.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.1622, allocations: 194.4 kB / 0.5695 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.1623, allocations: 98.3 kB / 0.5696 GB, free: 10.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.1625, allocations: 350.7 kB / 0.5699 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.1627, allocations: 117.2 kB / 0.57 GB, free: 10.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.1631, allocations: 295.9 kB / 0.5703 GB, free: 10.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007058/0.1638, allocations: 453 kB / 0.5707 GB, free: 9.516 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1638, allocations: 0 / 0.5707 GB, free: 9.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008712/0.1647, allocations: 0.4896 MB / 0.5712 GB, free: 9.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1647, allocations: 4 kB / 0.5712 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1647, allocations: 11.94 kB / 0.5712 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.1648, allocations: 8 kB / 0.5712 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.1653, allocations: 143.8 kB / 0.5714 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.1653, allocations: 19.86 kB / 0.5714 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.1655, allocations: 23.95 kB / 0.5714 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.1655, allocations: 24 kB / 0.5714 GB, free: 8.789 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002048/0.1658, allocations: 169.9 kB / 0.5716 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.1659, allocations: 43.77 kB / 0.5716 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.1662, allocations: 123.3 kB / 0.5718 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.1662, allocations: 8 kB / 0.5718 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.1662, allocations: 3.938 kB / 0.5718 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1662, allocations: 7.984 kB / 0.5718 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.1682, allocations: 1.249 MB / 0.573 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.1682, allocations: 4 kB / 0.573 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.1688, allocations: 119.8 kB / 0.5731 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.1688, allocations: 8 kB / 0.5731 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.1688, allocations: 16 kB / 0.5731 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.1688, allocations: 4 kB / 0.5732 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1688, allocations: 4 kB / 0.5732 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.17, allocations: 1.014 MB / 0.5741 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/0.1701, allocations: 108.9 kB / 0.5742 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.1702, allocations: 16.19 kB / 0.5743 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.1705, allocations: 16.19 kB / 0.5743 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/0.1706, allocations: 47.77 kB / 0.5743 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.1706, allocations: 20 kB / 0.5743 GB, free: 5.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.1708, allocations: 178 kB / 0.5745 GB, free: 5.461 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1708, allocations: 0 / 0.5745 GB, free: 5.461 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006835/0.1715, allocations: 104 kB / 0.5746 GB, free: 5.359 MB / 430.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 (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.0001348/0.1716, allocations: 111.1 kB / 0.5747 GB, free: 5.242 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007072/0.1723, allocations: 340.1 kB / 0.575 GB, free: 4.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1723, allocations: 4.062 kB / 0.575 GB, free: 4.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.1726, allocations: 163.9 kB / 0.5752 GB, free: 4.746 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009793/0.1736, allocations: 92.05 kB / 0.5753 GB, free: 4.664 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.1761, allocations: 1.521 MB / 0.5768 GB, free: 3.059 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.1766, allocations: 0.8118 MB / 0.5776 GB, free: 2.219 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.1767, allocations: 35.44 kB / 0.5776 GB, free: 2.184 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1767, allocations: 0 / 0.5776 GB, free: 2.184 MB / 430.1 MB Notification: Performance of Templates: time 0.007878/0.1846, allocations: 4.809 MB / 0.5823 GB, free: 13.38 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.97500353702344]