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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 106.6 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 195.3 kB / 23.52 MB, free: 5.418 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 252.1 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2192/0.2192, allocations: 44.92 MB / 352.1 MB, free: 12.41 MB / 286.1 MB [Timeout remaining time 90] 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=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.0.0_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.0.0_ModelicaTest.Translational.TestBraking") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 71.89 kB / 495.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3469, allocations: 64.25 MB / 0.5467 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004869/0.3518, allocations: 2.797 MB / 0.5495 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3538, allocations: 0.9603 MB / 0.5504 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.354, allocations: 10.09 kB / 0.5504 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.3542, allocations: 48.06 kB / 0.5505 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.3545, allocations: 116.7 kB / 0.5506 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.355, allocations: 139.8 kB / 0.5507 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004869/0.3555, allocations: 385.1 kB / 0.5511 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.3556, allocations: 63.28 kB / 0.5511 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.3558, allocations: 138.5 kB / 0.5513 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.3561, allocations: 152 kB / 0.5514 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.3561, allocations: 26.22 kB / 0.5514 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.3562, allocations: 48.48 kB / 0.5515 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.3563, allocations: 61.44 kB / 0.5515 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.3565, allocations: 164 kB / 0.5517 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.357, allocations: 390.2 kB / 0.5521 GB, free: 9.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.357, allocations: 0 / 0.5521 GB, free: 9.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.357, allocations: 1.125 kB / 0.5521 GB, free: 9.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.357, allocations: 0 / 0.5521 GB, free: 9.129 MB / 398.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.001121/0.3581, allocations: 0.6214 MB / 0.5527 GB, free: 8.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3582, allocations: 9.25 kB / 0.5527 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.3584, allocations: 53.5 kB / 0.5527 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.3589, allocations: 283.7 kB / 0.553 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3589, allocations: 24.69 kB / 0.553 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.81e-05/0.359, allocations: 29.28 kB / 0.5531 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.3595, allocations: 305.8 kB / 0.5533 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.3595, allocations: 9.953 kB / 0.5534 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.3596, allocations: 11.28 kB / 0.5534 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.3596, allocations: 7.625 kB / 0.5534 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.36, allocations: 196.4 kB / 0.5536 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.362, allocations: 1.285 MB / 0.5548 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.3626, allocations: 332.2 kB / 0.5551 GB, free: 6.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.3627, allocations: 99.39 kB / 0.5552 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3628, allocations: 4.531 kB / 0.5552 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.3628, allocations: 46.28 kB / 0.5553 GB, free: 6.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 1.623e-06/0.3628, allocations: 0 / 0.5553 GB, free: 6.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002837/0.3656, allocations: 1.588 MB / 0.5568 GB, free: 4.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.3658, allocations: 167.3 kB / 0.557 GB, free: 4.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.366, allocations: 222.3 kB / 0.5572 GB, free: 4.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.366, allocations: 31.02 kB / 0.5572 GB, free: 4.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.3662, allocations: 178.5 kB / 0.5574 GB, free: 4.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.3663, allocations: 164 kB / 0.5576 GB, free: 4.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3665, allocations: 82.91 kB / 0.5576 GB, free: 4.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3666, allocations: 341.6 kB / 0.558 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.3668, allocations: 101.1 kB / 0.5581 GB, free: 3.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.3672, allocations: 239.5 kB / 0.5583 GB, free: 3.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005184/0.3677, allocations: 377.9 kB / 0.5586 GB, free: 3.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3677, allocations: 0 / 0.5586 GB, free: 3.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006738/0.3684, allocations: 413 kB / 0.559 GB, free: 2.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.3684, allocations: 8 kB / 0.559 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.3684, allocations: 4.375 kB / 0.5591 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.3684, allocations: 12 kB / 0.5591 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.3688, allocations: 119.8 kB / 0.5592 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3688, allocations: 8 kB / 0.5592 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.369, allocations: 19.95 kB / 0.5592 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.3691, allocations: 20 kB / 0.5592 GB, free: 2.457 MB / 398.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.0001822/0.3693, allocations: 157.7 kB / 0.5594 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.3694, allocations: 35.8 kB / 0.5594 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.3696, allocations: 115.3 kB / 0.5595 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3696, allocations: 15.94 kB / 0.5595 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.3697, allocations: 0 / 0.5595 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.3697, allocations: 7.984 kB / 0.5595 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.3713, allocations: 1.034 MB / 0.5605 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.3713, allocations: 4 kB / 0.5606 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/0.3717, allocations: 95.89 kB / 0.5606 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.3717, allocations: 8.125 kB / 0.5607 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.3718, allocations: 8 kB / 0.5607 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/0.3718, allocations: 16.12 kB / 0.5607 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.3718, allocations: 8 kB / 0.5607 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.3729, allocations: 0.8268 MB / 0.5615 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.373, allocations: 104.9 kB / 0.5616 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.373, allocations: 12 kB / 0.5616 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.3733, allocations: 8 kB / 0.5616 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.3734, allocations: 47.83 kB / 0.5617 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.3734, allocations: 12 kB / 0.5617 GB, free: 15.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.3736, allocations: 156.5 kB / 0.5618 GB, free: 15.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3736, allocations: 0 / 0.5618 GB, free: 15.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006019/0.3742, allocations: 84 kB / 0.5619 GB, free: 15.54 MB / 414.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.0001543/0.3744, allocations: 108.4 kB / 0.562 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005018/0.3749, allocations: 268 kB / 0.5623 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3749, allocations: 0 / 0.5623 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.375, allocations: 121.7 kB / 0.5624 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008653/0.3759, allocations: 89.08 kB / 0.5625 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.3781, allocations: 1.289 MB / 0.5637 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.3785, allocations: 0.788 MB / 0.5645 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.391e-05/0.3786, allocations: 31.44 kB / 0.5645 GB, free: 12.76 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3786, allocations: 0 / 0.5645 GB, free: 12.76 MB / 414.1 MB Notification: Performance of Templates: time 0.007113/0.3857, allocations: 3.992 MB / 0.5684 GB, free: 8.785 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches