Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.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.001762/0.001762, 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.001985/0.001985, 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.369/1.369, allocations: 230.3 MB / 258 MB, free: 8.262 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.219/0.219, allocations: 46.89 MB / 361.3 MB, free: 4.453 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.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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 75.88 kB / 0.4971 GB, free: 7.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3519, allocations: 66.02 MB / 0.5615 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003538/0.3554, allocations: 2.094 MB / 0.5636 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.3565, allocations: 0.6127 MB / 0.5642 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.3566, allocations: 4 kB / 0.5642 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.3568, allocations: 19.73 kB / 0.5642 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.3569, allocations: 35.64 kB / 0.5642 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.3573, allocations: 91.8 kB / 0.5643 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.3575, allocations: 179.4 kB / 0.5645 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3577, allocations: 41.72 kB / 0.5645 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.3579, allocations: 87.69 kB / 0.5646 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.3581, allocations: 79.67 kB / 0.5647 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.3581, allocations: 12 kB / 0.5647 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.431e-05/0.3582, allocations: 16 kB / 0.5647 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.3582, allocations: 39.84 kB / 0.5648 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.254e-05/0.3583, allocations: 75.64 kB / 0.5648 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.3586, allocations: 189.8 kB / 0.565 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3586, allocations: 0 / 0.565 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3586, allocations: 0 / 0.565 GB, free: 1.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3586, allocations: 4 kB / 0.565 GB, free: 1.031 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.0008392/0.3594, allocations: 381.8 kB / 0.5654 GB, free: 0.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3595, allocations: 15.97 kB / 0.5654 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.3596, allocations: 20.84 kB / 0.5654 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.3599, allocations: 162.2 kB / 0.5656 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3599, allocations: 12.61 kB / 0.5656 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.36, allocations: 20.06 kB / 0.5656 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.3603, allocations: 165.7 kB / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.3604, allocations: 7.953 kB / 0.5658 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.3604, allocations: 4 kB / 0.5658 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3604, allocations: 4 kB / 0.5658 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.3607, allocations: 117.2 kB / 0.5659 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.3617, allocations: 0.6404 MB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.3621, allocations: 134.6 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.3622, allocations: 52.83 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.3623, allocations: 11.88 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.3623, allocations: 34.56 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.3623, allocations: 0 / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001415/0.3637, allocations: 415.3 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.3638, allocations: 51.41 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.3639, allocations: 158.2 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.3639, allocations: 33.7 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.364, allocations: 120.3 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.3641, allocations: 63.44 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/0.3642, allocations: 37.7 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3643, allocations: 326.8 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.3645, allocations: 67.95 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.3648, allocations: 107.2 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.3652, allocations: 175.3 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3652, allocations: 0 / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000503/0.3657, allocations: 215.6 kB / 0.5684 GB, free: 13.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3657, allocations: 8 kB / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3657, allocations: 0 / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.3657, allocations: 4.094 kB / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.3661, allocations: 55.89 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3661, allocations: 3.938 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.3662, allocations: 15.98 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.3662, allocations: 4 kB / 0.5685 GB, free: 13.23 MB / 414.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.0001577/0.3664, allocations: 125.8 kB / 0.5686 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.3665, allocations: 15.91 kB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.756e-05/0.3665, allocations: 29.11 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.3665, allocations: 0 / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.3665, allocations: 7.875 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.3665, allocations: 7.984 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.3676, allocations: 0.5723 MB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3676, allocations: 3.938 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.3679, allocations: 47.95 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3679, allocations: 0 / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.3679, allocations: 8 kB / 0.5693 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.3679, allocations: 7.938 kB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3679, allocations: 0 / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/0.3685, allocations: 306.2 kB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.104e-05/0.3685, allocations: 23.89 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.3686, allocations: 7.984 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.3688, allocations: 15.98 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.3689, allocations: 15.97 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.3689, allocations: 4 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.369, allocations: 115.2 kB / 0.5698 GB, free: 11.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.369, allocations: 0 / 0.5698 GB, free: 11.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000274/0.3693, allocations: 40 kB / 0.5698 GB, free: 11.81 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.0001441/0.3694, allocations: 111.1 kB / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005116/0.3699, allocations: 155.8 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3699, allocations: 0 / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.3701, allocations: 88.03 kB / 0.5702 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.3705, allocations: 30.11 kB / 0.5702 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007948/0.3713, allocations: 357.9 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.3717, allocations: 0.717 MB / 0.5712 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.3718, allocations: 25.42 kB / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.3719, allocations: 19.44 kB / 0.5713 GB, free: 10.26 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3719, allocations: 0 / 0.5713 GB, free: 10.26 MB / 414.1 MB Notification: Performance of Templates: time 0.005379/0.3773, allocations: 2.078 MB / 0.5733 GB, free: 8.191 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat. Warning: Get data of variable gasForce.dens from file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.026590261608362]