Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.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.001792/0.001792, 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.002014/0.002014, allocations: 186.4 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.554/1.554, 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.2329/0.2329, allocations: 44.92 MB / 353.5 MB, free: 11.82 MB / 286.1 MB
"
[Timeout remaining time 180]
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.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce")
translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.91 kB / 497.7 MB, free: 1 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3587, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.00349/0.3622, allocations: 2.107 MB / 0.5509 GB, free: 11.5 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0009757/0.3631, allocations: 0.5466 MB / 0.5514 GB, free: 11.06 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.3632, allocations: 2.156 kB / 0.5514 GB, free: 11.06 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.3633, allocations: 21.91 kB / 0.5514 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.3634, allocations: 44.3 kB / 0.5515 GB, free: 11 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.3638, allocations: 67.67 kB / 0.5515 GB, free: 10.95 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002456/0.364, allocations: 192.2 kB / 0.5517 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3641, allocations: 32.33 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3643, allocations: 91.83 kB / 0.5518 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.3644, allocations: 85.72 kB / 0.5519 GB, free: 10.71 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.3645, allocations: 14.78 kB / 0.5519 GB, free: 10.71 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.643e-05/0.3645, allocations: 13.19 kB / 0.552 GB, free: 10.71 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.3646, allocations: 49.55 kB / 0.552 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.3647, allocations: 78.62 kB / 0.5521 GB, free: 10.61 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.365, allocations: 181.2 kB / 0.5522 GB, free: 10.48 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.365, allocations: 0 / 0.5522 GB, free: 10.48 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.362e-06/0.365, allocations: 0 / 0.5522 GB, free: 10.48 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.931e-06/0.365, allocations: 1 kB / 0.5522 GB, free: 10.48 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: 29
 * Number of variables: 29
Notification: Performance of Generate backend data structure: time 0.0008315/0.3658, allocations: 391.3 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3658, allocations: 9.938 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.3659, allocations: 17.53 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.3661, allocations: 153.1 kB / 0.5528 GB, free: 9.957 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3662, allocations: 8.594 kB / 0.5528 GB, free: 9.953 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.3662, allocations: 16.66 kB / 0.5528 GB, free: 9.945 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.3666, allocations: 162.6 kB / 0.553 GB, free: 9.82 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3666, allocations: 5.203 kB / 0.553 GB, free: 9.816 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.3666, allocations: 6.375 kB / 0.553 GB, free: 9.812 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3667, allocations: 2.594 kB / 0.553 GB, free: 9.812 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.367, allocations: 115.6 kB / 0.5531 GB, free: 9.758 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009968/0.368, allocations: 0.6623 MB / 0.5537 GB, free: 9.133 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.3684, allocations: 137.5 kB / 0.5539 GB, free: 9.055 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.3686, allocations: 56.36 kB / 0.5539 GB, free: 9.023 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.3686, allocations: 9.125 kB / 0.5539 GB, free: 9.016 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.3686, allocations: 35.98 kB / 0.554 GB, free: 8.973 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.3686, allocations: 1.375 kB / 0.554 GB, free: 8.973 MB / 398.1 MB
Notification: Performance of matching and sorting (n=20): time 0.001486/0.3701, allocations: 417.7 kB / 0.5544 GB, free: 8.754 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3702, allocations: 57.75 kB / 0.5544 GB, free: 8.688 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.3703, allocations: 150.9 kB / 0.5546 GB, free: 8.562 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.3703, allocations: 31.2 kB / 0.5546 GB, free: 8.527 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3704, allocations: 122.4 kB / 0.5547 GB, free: 8.41 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.185e-05/0.3705, allocations: 74.92 kB / 0.5548 GB, free: 8.344 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-05/0.3706, allocations: 42.2 kB / 0.5548 GB, free: 8.309 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001533/0.3708, allocations: 330.1 kB / 0.5551 GB, free: 7.98 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.371, allocations: 72.64 kB / 0.5552 GB, free: 7.945 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.3712, allocations: 96.66 kB / 0.5553 GB, free: 7.883 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.3717, allocations: 183.4 kB / 0.5555 GB, free: 7.773 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.3717, allocations: 0 / 0.5555 GB, free: 7.773 MB / 398.1 MB
Notification: Performance of matching and sorting (n=23) (initialization): time 0.000542/0.3722, allocations: 224.5 kB / 0.5557 GB, free: 7.652 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3722, allocations: 5.5 kB / 0.5557 GB, free: 7.652 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3722, allocations: 0 / 0.5557 GB, free: 7.652 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.3722, allocations: 6.406 kB / 0.5557 GB, free: 7.648 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.3726, allocations: 53.61 kB / 0.5558 GB, free: 7.633 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3726, allocations: 2.156 kB / 0.5558 GB, free: 7.633 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.3727, allocations: 15.55 kB / 0.5558 GB, free: 7.625 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.3728, allocations: 9.5 kB / 0.5558 GB, free: 7.621 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * 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 (23):
 * Single equations (assignments): 23
 * 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.0001338/0.3729, allocations: 141 kB / 0.5559 GB, free: 7.48 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.373, allocations: 15.28 kB / 0.5559 GB, free: 7.473 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.78e-05/0.373, allocations: 28.39 kB / 0.556 GB, free: 7.445 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.373, allocations: 2.531 kB / 0.556 GB, free: 7.445 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.373, allocations: 0 / 0.556 GB, free: 7.445 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.373, allocations: 0 / 0.556 GB, free: 7.445 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.3742, allocations: 0.595 MB / 0.5565 GB, free: 6.945 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3742, allocations: 0 / 0.5565 GB, free: 6.945 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.3745, allocations: 44.66 kB / 0.5566 GB, free: 6.934 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.3745, allocations: 5.438 kB / 0.5566 GB, free: 6.93 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.3745, allocations: 5.344 kB / 0.5566 GB, free: 6.926 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3745, allocations: 1.219 kB / 0.5566 GB, free: 6.926 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3745, allocations: 0 / 0.5566 GB, free: 6.926 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.3751, allocations: 309 kB / 0.5569 GB, free: 6.707 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.3752, allocations: 28.02 kB / 0.5569 GB, free: 6.688 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.3752, allocations: 9.406 kB / 0.5569 GB, free: 6.68 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.3754, allocations: 14.61 kB / 0.5569 GB, free: 6.672 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.3755, allocations: 21.41 kB / 0.557 GB, free: 6.656 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.3755, allocations: 8.547 kB / 0.557 GB, free: 6.652 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 9.527e-05/0.3756, allocations: 116.9 kB / 0.5571 GB, free: 6.559 MB / 398.1 MB
Notification: Performance of sort global known variables: time 6.1e-08/0.3756, allocations: 0 / 0.5571 GB, free: 6.559 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000294/0.3759, allocations: 41.44 kB / 0.5571 GB, free: 6.551 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 simulation (20):
 * Single equations (assignments): 20
 * 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.0001296/0.376, allocations: 95.05 kB / 0.5572 GB, free: 6.461 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005348/0.3766, allocations: 173.3 kB / 0.5574 GB, free: 6.355 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3766, allocations: 0 / 0.5574 GB, free: 6.355 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.3768, allocations: 94.41 kB / 0.5575 GB, free: 6.266 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3772, allocations: 23.98 kB / 0.5575 GB, free: 6.242 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000848/0.378, allocations: 390.6 kB / 0.5579 GB, free: 5.836 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.3784, allocations: 0.7207 MB / 0.5586 GB, free: 5.09 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001586/0.3786, allocations: 29.41 kB / 0.5586 GB, free: 5.062 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/0.3786, allocations: 19.42 kB / 0.5586 GB, free: 5.043 MB / 398.1 MB
Notification: Performance of SimCode: time 4.71e-07/0.3786, allocations: 3.938 kB / 0.5586 GB, free: 5.039 MB / 398.1 MB
Notification: Performance of Templates: time 0.005706/0.3844, allocations: 2.163 MB / 0.5607 GB, free: 2.895 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.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.349427290260792]