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.001638/0.001638, allocations: 82.66 kB / 21.42 MB, free: 3.07 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.001341/0.001341, allocations: 166.8 kB / 24.82 MB, free: 9.211 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.9586/0.9586, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.258/0.258, allocations: 32.81 MB / 294.6 MB, free: 0.6797 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.443e-06/1.443e-06, allocations: 0 / 376.5 MB, free: 4.262 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.333e-05, allocations: 2.312 kB / 376.5 MB, free: 4.258 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002188/0.002201, allocations: 2.108 MB / 378.6 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.003, allocations: 0.5765 MB / 379.2 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.792e-05/0.003098, allocations: 0 / 379.2 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.003208, allocations: 23.8 kB / 379.2 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.003315, allocations: 47.56 kB / 379.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.00362, allocations: 83.75 kB / 379.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.003801, allocations: 191.2 kB / 379.5 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.003901, allocations: 29.78 kB / 379.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.00407, allocations: 115.8 kB / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.004176, allocations: 63.8 kB / 379.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.004204, allocations: 16 kB / 379.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.774e-05/0.004252, allocations: 20 kB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.004279, allocations: 39.83 kB / 379.8 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.004321, allocations: 51.89 kB / 379.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.004478, allocations: 127.6 kB / 380 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.00448, allocations: 0 / 380 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004481, allocations: 4 kB / 380 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.004484, allocations: 3.938 kB / 380 MB, free: 0.75 MB / 346.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.0004465/0.00493, allocations: 488 kB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.004963, allocations: 12.03 kB / 380.4 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.866e-05/0.005061, allocations: 32.84 kB / 380.5 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.00521, allocations: 164.9 kB / 380.6 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.005235, allocations: 8.656 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.00526, allocations: 12.38 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.005451, allocations: 206.9 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.00546, allocations: 7.875 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.005473, allocations: 4 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.005479, allocations: 8 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.097e-05/0.00555, allocations: 47.95 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.006053, allocations: 0.6901 MB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.00618, allocations: 98.98 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.006215, allocations: 31.97 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.006236, allocations: 15.98 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.006256, allocations: 37.39 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.006257, allocations: 0 / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005029/0.00676, allocations: 255.3 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.006786, allocations: 55.41 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.006892, allocations: 204 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.006909, allocations: 29.7 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.006978, allocations: 171.1 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.007018, allocations: 67.36 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.007069, allocations: 47.34 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.007198, allocations: 0.4923 MB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.007235, allocations: 23.98 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.3e-05/0.007298, allocations: 77.64 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.007402, allocations: 98.66 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.007404, allocations: 0 / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001615/0.007565, allocations: 159.9 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.007577, allocations: 4 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.007581, allocations: 0 / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.007593, allocations: 4 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.007734, allocations: 43.91 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.007739, allocations: 4 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.488e-05/0.007793, allocations: 8 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.007803, allocations: 7.984 kB / 383.5 MB, free: 12.92 MB / 362.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 7.655e-05/0.007879, allocations: 172.6 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.007909, allocations: 19.91 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.007936, allocations: 17.12 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.007938, allocations: 4 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.007941, allocations: 0 / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.007944, allocations: 3.984 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.008355, allocations: 487 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.008357, allocations: 0 / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.956e-05/0.008456, allocations: 43.97 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.008459, allocations: 4 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.008467, allocations: 0 / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.008469, allocations: 4 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.008472, allocations: 3.938 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.008643, allocations: 279.7 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.008681, allocations: 31.86 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.008694, allocations: 4 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.008768, allocations: 8 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.008811, allocations: 19.91 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.008822, allocations: 15.98 kB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.065e-05/0.008873, allocations: 142 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008873, allocations: 0 / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.00905, allocations: 36 kB / 384.8 MB, free: 11.59 MB / 362.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 7.029e-05/0.00912, allocations: 107.2 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.009254, allocations: 96.55 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009256, allocations: 0 / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.544e-05/0.009311, allocations: 62.11 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.009503, allocations: 28.17 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000685/0.01019, allocations: 350.6 kB / 385.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.52e-05/0.01023, allocations: 72.58 kB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.415e-05/0.01033, allocations: 25.48 kB / 385.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.01046, allocations: 110.2 kB / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01046, allocations: 0 / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of Templates: time 0.003666/0.01412, allocations: 2.151 MB / 387.8 MB, free: 8.555 MB / 362.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: 3.049858006183058]