Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001301/0.001301, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001474/0.001474, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.549/1.549, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.9 MB / 361.3 MB, free: 4.523 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Translational.TestBraking") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 75.88 kB / 0.497 GB, free: 7.629 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3486, allocations: 66.03 MB / 0.5615 GB, free: 4.645 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.005121/0.3537, allocations: 3.182 MB / 0.5646 GB, free: 1.445 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002063/0.3558, allocations: 1.091 MB / 0.5657 GB, free: 360 kB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.3559, allocations: 7.938 kB / 0.5657 GB, free: 352 kB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.3562, allocations: 71.3 kB / 0.5658 GB, free: 280 kB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.3564, allocations: 122.9 kB / 0.5659 GB, free: 156 kB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005907/0.357, allocations: 175.6 kB / 0.566 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005002/0.3575, allocations: 469.8 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.3577, allocations: 79.98 kB / 0.5666 GB, free: 15.43 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.3579, allocations: 171.4 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.3581, allocations: 183.2 kB / 0.5669 GB, free: 15.09 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.076e-05/0.3582, allocations: 32 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.3583, allocations: 51.98 kB / 0.567 GB, free: 15 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.145e-05/0.3584, allocations: 83.62 kB / 0.5671 GB, free: 14.92 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.3586, allocations: 203 kB / 0.5673 GB, free: 14.72 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.3592, allocations: 456.5 kB / 0.5677 GB, free: 14.28 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3592, allocations: 3.938 kB / 0.5677 GB, free: 14.28 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.403e-06/0.3592, allocations: 0 / 0.5677 GB, free: 14.28 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 8.255e-06/0.3592, allocations: 0 / 0.5677 GB, free: 14.28 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.001236/0.3604, allocations: 0.6261 MB / 0.5683 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3605, allocations: 8.031 kB / 0.5683 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003061/0.3608, allocations: 68.62 kB / 0.5684 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.3612, allocations: 244.8 kB / 0.5686 GB, free: 13.28 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.3612, allocations: 25.38 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.3613, allocations: 40.38 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.362, allocations: 367.5 kB / 0.569 GB, free: 12.83 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.362, allocations: 7.953 kB / 0.569 GB, free: 12.82 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.362, allocations: 15.98 kB / 0.5691 GB, free: 12.81 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.362, allocations: 12 kB / 0.5691 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.3625, allocations: 251 kB / 0.5693 GB, free: 12.55 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.3649, allocations: 1.475 MB / 0.5707 GB, free: 10.98 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007869/0.3657, allocations: 399.6 kB / 0.5711 GB, free: 10.53 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.3659, allocations: 125.1 kB / 0.5712 GB, free: 10.39 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.366, allocations: 4 kB / 0.5712 GB, free: 10.39 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.366, allocations: 46.5 kB / 0.5713 GB, free: 10.33 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=43): time 1.903e-06/0.366, allocations: 0 / 0.5713 GB, free: 10.33 MB / 414.1 MB
Notification: Performance of matching and sorting (n=48): time 0.003284/0.3693, allocations: 1.547 MB / 0.5728 GB, free: 8.641 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.3694, allocations: 183.9 kB / 0.573 GB, free: 8.418 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.3697, allocations: 256.2 kB / 0.5732 GB, free: 8.16 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.3698, allocations: 33.7 kB / 0.5733 GB, free: 8.121 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.37, allocations: 208.7 kB / 0.5735 GB, free: 7.914 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.3701, allocations: 182.4 kB / 0.5736 GB, free: 7.734 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.3703, allocations: 102.3 kB / 0.5737 GB, free: 7.629 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001905/0.3705, allocations: 350.8 kB / 0.5741 GB, free: 7.277 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.3707, allocations: 117.2 kB / 0.5742 GB, free: 7.16 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.3711, allocations: 295.9 kB / 0.5745 GB, free: 6.797 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006739/0.3718, allocations: 465.5 kB / 0.5749 GB, free: 6.266 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3718, allocations: 4 kB / 0.5749 GB, free: 6.262 MB / 414.1 MB
Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008438/0.3726, allocations: 493 kB / 0.5754 GB, free: 5.773 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3726, allocations: 8 kB / 0.5754 GB, free: 5.766 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3727, allocations: 4.438 kB / 0.5754 GB, free: 5.762 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.3727, allocations: 19.94 kB / 0.5754 GB, free: 5.742 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/0.3732, allocations: 135.8 kB / 0.5755 GB, free: 5.609 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.356e-05/0.3732, allocations: 23.92 kB / 0.5756 GB, free: 5.586 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.3734, allocations: 27.89 kB / 0.5756 GB, free: 5.559 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.3735, allocations: 24 kB / 0.5756 GB, free: 5.535 MB / 414.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.0001858/0.3737, allocations: 170.8 kB / 0.5758 GB, free: 5.359 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.3738, allocations: 39.75 kB / 0.5758 GB, free: 5.32 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.3741, allocations: 131.3 kB / 0.5759 GB, free: 5.18 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.3741, allocations: 8 kB / 0.5759 GB, free: 5.172 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.3741, allocations: 7.922 kB / 0.5759 GB, free: 5.164 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3741, allocations: 288 / 0.5759 GB, free: 5.164 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.3762, allocations: 1.213 MB / 0.5771 GB, free: 3.867 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.3762, allocations: 4.312 kB / 0.5771 GB, free: 3.863 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005282/0.3767, allocations: 127.8 kB / 0.5773 GB, free: 3.738 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.3767, allocations: 4 kB / 0.5773 GB, free: 3.734 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.3767, allocations: 16 kB / 0.5773 GB, free: 3.719 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.3767, allocations: 7.984 kB / 0.5773 GB, free: 3.711 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.3767, allocations: 7.938 kB / 0.5773 GB, free: 3.703 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.3779, allocations: 1.013 MB / 0.5783 GB, free: 2.633 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.378, allocations: 27.81 kB / 0.5783 GB, free: 2.605 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.378, allocations: 20 kB / 0.5783 GB, free: 2.586 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.3784, allocations: 19.98 kB / 0.5783 GB, free: 2.566 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.3785, allocations: 43.81 kB / 0.5784 GB, free: 2.523 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.3785, allocations: 20 kB / 0.5784 GB, free: 2.504 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001752/0.3787, allocations: 175.1 kB / 0.5786 GB, free: 2.336 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3787, allocations: 4 kB / 0.5786 GB, free: 2.332 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.000666/0.3794, allocations: 96 kB / 0.5787 GB, free: 2.238 MB / 414.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.0001461/0.3795, allocations: 111.3 kB / 0.5788 GB, free: 2.121 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.000669/0.3802, allocations: 334.5 kB / 0.5791 GB, free: 1.793 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3802, allocations: 0 / 0.5791 GB, free: 1.793 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.3805, allocations: 169.1 kB / 0.5793 GB, free: 1.629 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3815, allocations: 94.2 kB / 0.5793 GB, free: 1.543 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.3839, allocations: 1.482 MB / 0.5808 GB, free: 15.98 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.3844, allocations: 0.8119 MB / 0.5816 GB, free: 15.14 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0002103/0.3846, allocations: 51.33 kB / 0.5816 GB, free: 15.09 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.3847, allocations: 31.44 kB / 0.5817 GB, free: 15.06 MB / 430.1 MB
Notification: Performance of SimCode: time 9.92e-07/0.3847, allocations: 7.938 kB / 0.5817 GB, free: 15.05 MB / 430.1 MB
Notification: Performance of Templates: time 0.009451/0.3941, allocations: 4.251 MB / 0.5858 GB, free: 10.83 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.TestBraking  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 5.352163675241172]