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.001538/0.001538, allocations: 111.7 kB / 19.17 MB, free: 3.871 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.001679/0.001679, allocations: 205 kB / 22.12 MB, free: 0.9219 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.48/1.48, allocations: 230.3 MB / 255.2 MB, free: 15.23 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.2279/0.2279, allocations: 46.92 MB / 358.2 MB, free: 10.41 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=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.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.002386/0.002386, allocations: 79.86 kB / 0.4925 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.133, allocations: 65.99 MB / 0.5569 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.005179/0.1382, allocations: 3.169 MB / 0.56 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1405, allocations: 1.083 MB / 0.5611 GB, free: 1.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003196/0.1408, allocations: 11.88 kB / 0.5611 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.1411, allocations: 59.38 kB / 0.5612 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.1413, allocations: 130.8 kB / 0.5613 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.1419, allocations: 179.5 kB / 0.5615 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005023/0.1424, allocations: 469.8 kB / 0.5619 GB, free: 456 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.1426, allocations: 75.58 kB / 0.562 GB, free: 372 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.1428, allocations: 175.4 kB / 0.5621 GB, free: 196 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.1431, allocations: 187.2 kB / 0.5623 GB, free: 8 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.1431, allocations: 32.05 kB / 0.5623 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.1432, allocations: 55.92 kB / 0.5624 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/0.1433, allocations: 79.69 kB / 0.5625 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.1435, allocations: 199 kB / 0.5627 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005403/0.144, allocations: 446.1 kB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.144, allocations: 0 / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1441, allocations: 3.938 kB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.1441, allocations: 0 / 0.5631 GB, free: 15.21 MB / 430.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.001219/0.1453, allocations: 0.7014 MB / 0.5638 GB, free: 14.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1453, allocations: 12.03 kB / 0.5638 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003033/0.1456, allocations: 72.62 kB / 0.5639 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.1461, allocations: 302.7 kB / 0.5641 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.1461, allocations: 33.31 kB / 0.5642 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.717e-05/0.1462, allocations: 44.3 kB / 0.5642 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/0.1469, allocations: 359.6 kB / 0.5646 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.1469, allocations: 15.94 kB / 0.5646 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.1469, allocations: 15.94 kB / 0.5646 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1469, allocations: 8 kB / 0.5646 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.1474, allocations: 247.8 kB / 0.5648 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.1496, allocations: 1.518 MB / 0.5663 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.1503, allocations: 403.5 kB / 0.5667 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.1505, allocations: 125.1 kB / 0.5668 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.1506, allocations: 11.98 kB / 0.5668 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1506, allocations: 46.56 kB / 0.5669 GB, free: 11.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 1.703e-06/0.1506, allocations: 0 / 0.5669 GB, free: 11.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=48): time 0.003388/0.154, allocations: 1.983 MB / 0.5688 GB, free: 8.785 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.1541, allocations: 195.8 kB / 0.569 GB, free: 8.551 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.1544, allocations: 254.9 kB / 0.5692 GB, free: 8.293 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.1545, allocations: 37.7 kB / 0.5693 GB, free: 8.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.1546, allocations: 200.8 kB / 0.5695 GB, free: 8.051 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.1548, allocations: 190.4 kB / 0.5697 GB, free: 7.863 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.155, allocations: 106.3 kB / 0.5698 GB, free: 7.754 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.1552, allocations: 346.8 kB / 0.5701 GB, free: 7.406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.1554, allocations: 113.3 kB / 0.5702 GB, free: 7.293 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.1558, allocations: 295.9 kB / 0.5705 GB, free: 6.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007305/0.1566, allocations: 454.1 kB / 0.5709 GB, free: 6.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.1566, allocations: 4 kB / 0.5709 GB, free: 6.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008759/0.1574, allocations: 0.4895 MB / 0.5714 GB, free: 5.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.1575, allocations: 11.94 kB / 0.5714 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1575, allocations: 4 kB / 0.5714 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.541e-05/0.1575, allocations: 12.03 kB / 0.5714 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.158, allocations: 143.8 kB / 0.5716 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.213e-05/0.1581, allocations: 15.88 kB / 0.5716 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.1583, allocations: 35.88 kB / 0.5716 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.1583, allocations: 20 kB / 0.5716 GB, free: 5.672 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.0002237/0.1586, allocations: 169.8 kB / 0.5718 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.1587, allocations: 43.77 kB / 0.5718 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.159, allocations: 127.3 kB / 0.572 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.159, allocations: 4 kB / 0.572 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.159, allocations: 7.938 kB / 0.572 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.159, allocations: 3.984 kB / 0.572 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.1611, allocations: 1.249 MB / 0.5732 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1611, allocations: 0 / 0.5732 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005423/0.1617, allocations: 119.8 kB / 0.5733 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.1617, allocations: 4 kB / 0.5733 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.1617, allocations: 19.98 kB / 0.5733 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.1617, allocations: 8 kB / 0.5733 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/0.1617, allocations: 7.938 kB / 0.5733 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.1629, allocations: 1.006 MB / 0.5743 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-05/0.163, allocations: 104.9 kB / 0.5744 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.1631, allocations: 19.98 kB / 0.5744 GB, free: 2.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.1634, allocations: 16 kB / 0.5745 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.757e-05/0.1635, allocations: 43.83 kB / 0.5745 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.1635, allocations: 20.19 kB / 0.5745 GB, free: 2.527 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.1637, allocations: 174 kB / 0.5747 GB, free: 2.355 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1637, allocations: 0 / 0.5747 GB, free: 2.355 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006564/0.1644, allocations: 100 kB / 0.5748 GB, free: 2.258 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.0001655/0.1646, allocations: 116.4 kB / 0.5749 GB, free: 2.137 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007764/0.1653, allocations: 339.4 kB / 0.5752 GB, free: 1.801 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.1653, allocations: 4 kB / 0.5752 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.1656, allocations: 171.8 kB / 0.5754 GB, free: 1.629 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009492/0.1666, allocations: 93.84 kB / 0.5755 GB, free: 1.543 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.1692, allocations: 1.521 MB / 0.577 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.1697, allocations: 0.8118 MB / 0.5777 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.1699, allocations: 35.44 kB / 0.5778 GB, free: 15.06 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1699, allocations: 0 / 0.5778 GB, free: 15.06 MB / 446.1 MB Notification: Performance of Templates: time 0.008246/0.1781, allocations: 4.802 MB / 0.5825 GB, free: 10.27 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.955885590999969]