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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 103.6 kB / 21.19 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002269/0.002269, allocations: 209.2 kB / 24.48 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.87/1.87, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2408/0.2408, allocations: 44.94 MB / 359.6 MB, free: 6.066 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 71.89 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4584/0.4605, allocations: 65.48 MB / 0.5582 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003996/0.4645, allocations: 2.005 MB / 0.5602 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.4659, allocations: 0.5621 MB / 0.5607 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.466, allocations: 0 / 0.5607 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.4661, allocations: 23.73 kB / 0.5607 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.4662, allocations: 39.62 kB / 0.5608 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.4667, allocations: 95.81 kB / 0.5609 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.467, allocations: 179.3 kB / 0.561 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.4671, allocations: 29.72 kB / 0.5611 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.4673, allocations: 87.75 kB / 0.5611 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.4675, allocations: 79.61 kB / 0.5612 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.4675, allocations: 12 kB / 0.5612 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.681e-05/0.4676, allocations: 16 kB / 0.5612 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.4676, allocations: 31.91 kB / 0.5613 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.973e-05/0.4677, allocations: 67.7 kB / 0.5613 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.468, allocations: 181.7 kB / 0.5615 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.468, allocations: 4 kB / 0.5615 GB, free: 4.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.889e-06/0.468, allocations: 3.984 kB / 0.5615 GB, free: 4.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.468, allocations: 0 / 0.5615 GB, free: 4.094 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008437/0.4689, allocations: 389.8 kB / 0.5619 GB, free: 3.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.4689, allocations: 8.031 kB / 0.5619 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.4691, allocations: 28.83 kB / 0.5619 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.4694, allocations: 158.8 kB / 0.5621 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.4694, allocations: 12.61 kB / 0.5621 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.4695, allocations: 12.12 kB / 0.5621 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.4699, allocations: 217.2 kB / 0.5623 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.4699, allocations: 3.953 kB / 0.5623 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.4699, allocations: 8 kB / 0.5623 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4699, allocations: 0 / 0.5623 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.4702, allocations: 107.9 kB / 0.5624 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009138/0.4711, allocations: 0.5981 MB / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.4715, allocations: 134.5 kB / 0.5631 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.4716, allocations: 56.77 kB / 0.5632 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.4717, allocations: 8 kB / 0.5632 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.4717, allocations: 34.5 kB / 0.5632 GB, free: 2.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.4717, allocations: 4 kB / 0.5632 GB, free: 2.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001397/0.4731, allocations: 409.1 kB / 0.5636 GB, free: 1.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.4731, allocations: 51.41 kB / 0.5637 GB, free: 1.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.4733, allocations: 147.9 kB / 0.5638 GB, free: 1.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.4733, allocations: 33.7 kB / 0.5638 GB, free: 1.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.4734, allocations: 120.4 kB / 0.564 GB, free: 1.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.432e-05/0.4735, allocations: 63.44 kB / 0.564 GB, free: 1.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.4736, allocations: 41.66 kB / 0.5641 GB, free: 1.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4737, allocations: 326.8 kB / 0.5644 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.4739, allocations: 67.89 kB / 0.5644 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.4741, allocations: 99.38 kB / 0.5645 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.4745, allocations: 177.7 kB / 0.5647 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4745, allocations: 0 / 0.5647 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000478/0.475, allocations: 217.4 kB / 0.5649 GB, free: 408 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.475, allocations: 10.5 kB / 0.5649 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.475, allocations: 0 / 0.5649 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.475, allocations: 8 kB / 0.5649 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.4753, allocations: 47.91 kB / 0.565 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4753, allocations: 3.938 kB / 0.565 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.4755, allocations: 19.92 kB / 0.565 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.4755, allocations: 4 kB / 0.565 GB, free: 316 kB / 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 (22): * Single equations (assignments): 22 * 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.000124/0.4756, allocations: 133.9 kB / 0.5651 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.4757, allocations: 19.84 kB / 0.5651 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.4757, allocations: 21.12 kB / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4757, allocations: 0 / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4757, allocations: 0 / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4757, allocations: 3.938 kB / 0.5652 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009951/0.4767, allocations: 0.53 MB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4767, allocations: 3.938 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.477, allocations: 43.91 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.477, allocations: 0 / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.477, allocations: 4 kB / 0.5657 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.477, allocations: 0 / 0.5657 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.477, allocations: 0 / 0.5657 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/0.4775, allocations: 301 kB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.4776, allocations: 35.81 kB / 0.5661 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.4776, allocations: 4 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.4778, allocations: 15.92 kB / 0.5661 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/0.4779, allocations: 15.97 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.4779, allocations: 4 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.253e-05/0.478, allocations: 122.8 kB / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.478, allocations: 0 / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.4783, allocations: 36 kB / 0.5662 GB, free: 14.96 MB / 414.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 (19): * Single equations (assignments): 19 * 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.0001387/0.4784, allocations: 107.2 kB / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004913/0.4789, allocations: 156.5 kB / 0.5665 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.4789, allocations: 4 kB / 0.5665 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.4791, allocations: 86.3 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.4795, allocations: 24.11 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008293/0.4803, allocations: 391.5 kB / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.4804, allocations: 104 kB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.875e-05/0.4805, allocations: 23.44 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4805, allocations: 3.938 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of Templates: time 0.004407/0.4849, allocations: 2.181 MB / 0.5692 GB, free: 11.84 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gasForce.dens in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat. Warning: Get data of variable gasForce.dens from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.41832905029878]