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.001334/0.001334, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.001106/0.001106, allocations: 170.8 kB / 24.91 MB, free: 8.73 MB / 18.57 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 0.9382/0.9382, allocations: 177.1 MB / 205.3 MB, free: 5.09 MB / 186.7 MB " [Timeout remaining time 179] 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.2635/0.2635, allocations: 32.81 MB / 294.6 MB, free: 1.195 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 4 kB / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.969e-06/1.195e-05, allocations: 4.703 kB / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002029/0.002041, allocations: 2.093 MB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007111/0.002752, allocations: 0.5998 MB / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.002816, allocations: 4 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.792e-05/0.002894, allocations: 15.8 kB / 325.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.604e-05/0.00297, allocations: 47.56 kB / 326 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.003204, allocations: 83.75 kB / 326.1 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.003359, allocations: 187.8 kB / 326.3 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.759e-05/0.003437, allocations: 34.44 kB / 326.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.003579, allocations: 119.7 kB / 326.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.835e-05/0.003678, allocations: 59.84 kB / 326.5 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.003699, allocations: 16 kB / 326.5 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.949e-05/0.003739, allocations: 27.94 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.003764, allocations: 31.89 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.003809, allocations: 59.88 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.00396, allocations: 131.5 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003961, allocations: 0 / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.003962, allocations: 0 / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.003965, allocations: 0 / 326.7 MB, free: 6.215 MB / 298.7 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.0003679/0.004333, allocations: 357.7 kB / 327.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.512e-05/0.004358, allocations: 12.03 kB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.511e-05/0.004443, allocations: 28.91 kB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.004581, allocations: 146.1 kB / 327.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.004591, allocations: 8.609 kB / 327.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.004615, allocations: 12.38 kB / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.004778, allocations: 199.6 kB / 327.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.004787, allocations: 3.938 kB / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.0048, allocations: 4 kB / 327.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.004803, allocations: 8 kB / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.422e-05/0.004868, allocations: 43.97 kB / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.005269, allocations: 491.4 kB / 328 MB, free: 4.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.00537, allocations: 78.53 kB / 328.1 MB, free: 4.734 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.487e-05/0.005405, allocations: 32.83 kB / 328.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.005418, allocations: 0 / 328.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.005436, allocations: 42.56 kB / 328.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.005437, allocations: 0 / 328.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003957/0.005833, allocations: 232 kB / 328.4 MB, free: 4.414 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.005855, allocations: 55.41 kB / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.736e-05/0.005932, allocations: 153.8 kB / 328.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.005948, allocations: 29.7 kB / 328.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.005987, allocations: 116.3 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.006016, allocations: 63.42 kB / 328.8 MB, free: 3.973 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.006069, allocations: 41.69 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.006137, allocations: 330.8 kB / 329.2 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3e-05/0.006167, allocations: 19.98 kB / 329.2 MB, free: 3.574 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.344e-05/0.006211, allocations: 51.42 kB / 329.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.314e-05/0.006294, allocations: 97.81 kB / 329.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.006295, allocations: 0 / 329.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001122/0.006407, allocations: 121.5 kB / 329.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.006415, allocations: 4 kB / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.006418, allocations: 4 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.174e-06/0.006425, allocations: 0 / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.006551, allocations: 47.95 kB / 329.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.006554, allocations: 0 / 329.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.12e-05/0.006605, allocations: 15.94 kB / 329.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.006614, allocations: 4 kB / 329.5 MB, free: 3.207 MB / 298.7 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 6.271e-05/0.006677, allocations: 121.8 kB / 329.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.006703, allocations: 20.08 kB / 329.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.006727, allocations: 25.11 kB / 329.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.006728, allocations: 0 / 329.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.00673, allocations: 0 / 329.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006733, allocations: 0 / 329.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.00707, allocations: 365.9 kB / 330 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007071, allocations: 0 / 330 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-05/0.007168, allocations: 39.97 kB / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.007169, allocations: 0 / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.007177, allocations: 8 kB / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.007178, allocations: 0 / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.00718, allocations: 3.984 kB / 330.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.007309, allocations: 209 kB / 330.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.007344, allocations: 27.81 kB / 330.3 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.007359, allocations: 4 kB / 330.3 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.007428, allocations: 4 kB / 330.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.007463, allocations: 19.91 kB / 330.3 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.007474, allocations: 11.98 kB / 330.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.083e-05/0.007495, allocations: 35.27 kB / 330.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007495, allocations: 0 / 330.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001414/0.007636, allocations: 36 kB / 330.4 MB, free: 2.242 MB / 298.7 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 6.436e-05/0.007701, allocations: 80.36 kB / 330.5 MB, free: 2.156 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.007817, allocations: 99.5 kB / 330.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.00782, allocations: 0 / 330.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.007869, allocations: 48.78 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.008021, allocations: 24.17 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000595/0.008616, allocations: 359.4 kB / 331 MB, free: 1.609 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.612e-05/0.008652, allocations: 72.56 kB / 331.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.817e-05/0.00874, allocations: 29.47 kB / 331.1 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.008848, allocations: 87.34 kB / 331.2 MB, free: 1.402 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.008849, allocations: 0 / 331.2 MB, free: 1.402 MB / 298.7 MB Notification: Performance of Templates: time 0.00325/0.0121, allocations: 2.11 MB / 333.3 MB, free: 15.32 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 240] 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","",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: 2.9172975118272007]