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 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 187.3 kB / 24.51 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2525/0.2525, allocations: 44.91 MB / 353.5 MB, free: 11.79 MB / 286.1 MB
"
[Timeout remaining time 179]
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.002261/0.002261, allocations: 67.88 kB / 497.7 MB, free: 1 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3981, allocations: 64.28 MB / 0.5488 GB, free: 13.12 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.005437/0.4035, allocations: 2.832 MB / 0.5516 GB, free: 10.9 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002836/0.4064, allocations: 0.9674 MB / 0.5525 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009334/0.4073, allocations: 9.125 kB / 0.5525 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.4078, allocations: 55.91 kB / 0.5526 GB, free: 10.06 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0007911/0.4086, allocations: 104.8 kB / 0.5527 GB, free: 9.969 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.4097, allocations: 151.9 kB / 0.5528 GB, free: 9.844 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009365/0.4106, allocations: 377.2 kB / 0.5532 GB, free: 9.621 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.4109, allocations: 63.86 kB / 0.5532 GB, free: 9.582 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004001/0.4113, allocations: 145.2 kB / 0.5534 GB, free: 9.504 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004045/0.4117, allocations: 145.4 kB / 0.5535 GB, free: 9.41 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.99e-05/0.4118, allocations: 25.59 kB / 0.5535 GB, free: 9.41 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.4121, allocations: 47.55 kB / 0.5536 GB, free: 9.398 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.4122, allocations: 69.16 kB / 0.5536 GB, free: 9.34 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.4125, allocations: 168.7 kB / 0.5538 GB, free: 9.23 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007855/0.4133, allocations: 378.8 kB / 0.5542 GB, free: 8.973 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4133, allocations: 0 / 0.5542 GB, free: 8.973 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.763e-06/0.4133, allocations: 0 / 0.5542 GB, free: 8.973 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 2.682e-05/0.4133, allocations: 1 kB / 0.5542 GB, free: 8.973 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.001622/0.4149, allocations: 0.5536 MB / 0.5547 GB, free: 8.508 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.415, allocations: 9.688 kB / 0.5547 GB, free: 8.508 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00038/0.4154, allocations: 48.36 kB / 0.5548 GB, free: 8.488 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.416, allocations: 212.8 kB / 0.555 GB, free: 8.285 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.4161, allocations: 28.81 kB / 0.555 GB, free: 8.27 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.265e-05/0.4162, allocations: 31.62 kB / 0.555 GB, free: 8.258 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/0.4169, allocations: 302.7 kB / 0.5553 GB, free: 8.047 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.785e-05/0.4169, allocations: 10.02 kB / 0.5553 GB, free: 8.039 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.417, allocations: 11.12 kB / 0.5553 GB, free: 8.031 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.417, allocations: 7.969 kB / 0.5553 GB, free: 8.031 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.4175, allocations: 203.7 kB / 0.5555 GB, free: 7.934 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.42, allocations: 1.244 MB / 0.5567 GB, free: 6.816 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006436/0.4206, allocations: 324.2 kB / 0.5571 GB, free: 6.586 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.4208, allocations: 104.6 kB / 0.5572 GB, free: 6.508 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.4208, allocations: 4.25 kB / 0.5572 GB, free: 6.508 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.4209, allocations: 41.92 kB / 0.5572 GB, free: 6.461 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=36): time 2.495e-06/0.4209, allocations: 4 kB / 0.5572 GB, free: 6.457 MB / 398.1 MB
Notification: Performance of matching and sorting (n=40): time 0.002771/0.4236, allocations: 1.203 MB / 0.5584 GB, free: 5.25 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.4237, allocations: 166.1 kB / 0.5585 GB, free: 5.051 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.424, allocations: 224.9 kB / 0.5587 GB, free: 4.82 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.424, allocations: 33.7 kB / 0.5588 GB, free: 4.781 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.4242, allocations: 184.5 kB / 0.559 GB, free: 4.598 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.4243, allocations: 154.6 kB / 0.5591 GB, free: 4.445 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.4245, allocations: 86.14 kB / 0.5592 GB, free: 4.352 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001813/0.4246, allocations: 342.8 kB / 0.5595 GB, free: 4.008 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.4248, allocations: 88.95 kB / 0.5596 GB, free: 3.922 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.4251, allocations: 254.9 kB / 0.5598 GB, free: 3.609 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.4257, allocations: 374.9 kB / 0.5602 GB, free: 3.18 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4257, allocations: 4 kB / 0.5602 GB, free: 3.176 MB / 398.1 MB
Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006952/0.4264, allocations: 404.9 kB / 0.5606 GB, free: 2.773 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.4264, allocations: 8 kB / 0.5606 GB, free: 2.766 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.4264, allocations: 4 kB / 0.5606 GB, free: 2.762 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.4265, allocations: 8 kB / 0.5606 GB, free: 2.754 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.4269, allocations: 119.8 kB / 0.5607 GB, free: 2.637 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.4269, allocations: 12.31 kB / 0.5607 GB, free: 2.625 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.4271, allocations: 23.95 kB / 0.5608 GB, free: 2.602 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.4272, allocations: 23.98 kB / 0.5608 GB, free: 2.578 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.0001807/0.4273, allocations: 161.6 kB / 0.5609 GB, free: 2.41 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.4275, allocations: 35.81 kB / 0.561 GB, free: 2.375 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.4277, allocations: 123.2 kB / 0.5611 GB, free: 2.246 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.4277, allocations: 7.938 kB / 0.5611 GB, free: 2.238 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.4278, allocations: 7.938 kB / 0.5611 GB, free: 2.23 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.4278, allocations: 0 / 0.5611 GB, free: 2.23 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.4294, allocations: 1.005 MB / 0.5621 GB, free: 1.148 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.4295, allocations: 7.984 kB / 0.5621 GB, free: 1.141 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.4299, allocations: 87.91 kB / 0.5622 GB, free: 1.055 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.4299, allocations: 4 kB / 0.5622 GB, free: 1.051 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.43, allocations: 19.98 kB / 0.5622 GB, free: 1.031 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.43, allocations: 4 kB / 0.5622 GB, free: 1.027 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.43, allocations: 7.938 kB / 0.5622 GB, free: 1.02 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000949/0.4309, allocations: 0.8273 MB / 0.563 GB, free: 140 kB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.431, allocations: 35.78 kB / 0.563 GB, free: 104 kB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.431, allocations: 12 kB / 0.5631 GB, free: 92 kB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.4314, allocations: 12 kB / 0.5631 GB, free: 80 kB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.4314, allocations: 31.89 kB / 0.5631 GB, free: 48 kB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.4315, allocations: 19.98 kB / 0.5631 GB, free: 28 kB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001689/0.4316, allocations: 152.5 kB / 0.5633 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.4316, allocations: 3.938 kB / 0.5633 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0006104/0.4322, allocations: 84 kB / 0.5633 GB, free: 15.79 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.0001338/0.4324, allocations: 107.2 kB / 0.5635 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005472/0.4329, allocations: 272 kB / 0.5637 GB, free: 15.41 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4329, allocations: 4 kB / 0.5637 GB, free: 15.41 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000202/0.4331, allocations: 127.7 kB / 0.5638 GB, free: 15.29 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.434, allocations: 78.22 kB / 0.5639 GB, free: 15.21 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.4362, allocations: 1.255 MB / 0.5651 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.4366, allocations: 0.792 MB / 0.5659 GB, free: 13.08 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001753/0.4368, allocations: 35.27 kB / 0.5659 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.518e-05/0.4369, allocations: 31.44 kB / 0.566 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of SimCode: time 6.21e-07/0.4369, allocations: 0 / 0.566 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of Templates: time 0.0081/0.445, allocations: 3.442 MB / 0.5693 GB, free: 9.605 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/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_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
[Calling sys.exit(0), Time elapsed: 5.384856223128736]