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.001047/0.001047, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001092/0.001092, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.9756/0.9756, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2584/0.2584, allocations: 32.81 MB / 294.6 MB, free: 1.258 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.463e-06/1.463e-06, allocations: 0 / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.854e-05, allocations: 5.859 kB / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.005509/0.005537, allocations: 2.13 MB / 325.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000844/0.006381, allocations: 0.6075 MB / 326 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.855e-05/0.00647, allocations: 0 / 326 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.006577, allocations: 23.8 kB / 326 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.1e-05/0.006668, allocations: 43.58 kB / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.006945, allocations: 83.75 kB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.00712, allocations: 187.8 kB / 326.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.007216, allocations: 34.42 kB / 326.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.007399, allocations: 115.8 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.007511, allocations: 63.84 kB / 326.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.007537, allocations: 20 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.418e-05/0.007601, allocations: 16 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.007629, allocations: 39.83 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.007669, allocations: 43.91 kB / 326.7 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.007839, allocations: 143.4 kB / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.007841, allocations: 0 / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.007842, allocations: 4 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.007846, allocations: 0 / 326.8 MB, free: 6.105 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.0004291/0.008275, allocations: 361.7 kB / 327.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.008305, allocations: 12.03 kB / 327.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.008412, allocations: 28.91 kB / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.008563, allocations: 142.1 kB / 327.4 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.008572, allocations: 8.609 kB / 327.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.008596, allocations: 12.38 kB / 327.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.008781, allocations: 199.6 kB / 327.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.008793, allocations: 7.922 kB / 327.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.008805, allocations: 4 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.008811, allocations: 4 kB / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.692e-05/0.008888, allocations: 52.56 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.009336, allocations: 479.4 kB / 328.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.009451, allocations: 85.22 kB / 328.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.009485, allocations: 28.86 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.009502, allocations: 4 kB / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.00954, allocations: 38.56 kB / 328.3 MB, free: 4.543 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.009541, allocations: 0 / 328.3 MB, free: 4.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004561/0.009997, allocations: 228.2 kB / 328.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.01002, allocations: 59.28 kB / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.01013, allocations: 153 kB / 328.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.01014, allocations: 29.7 kB / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.01019, allocations: 120.3 kB / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.01022, allocations: 67.42 kB / 328.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.01027, allocations: 37.69 kB / 328.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.01035, allocations: 326.8 kB / 329.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/0.01038, allocations: 19.98 kB / 329.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.01043, allocations: 62.41 kB / 329.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.498e-05/0.01053, allocations: 94 kB / 329.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.01053, allocations: 0 / 329.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000135/0.01066, allocations: 117.5 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.01068, allocations: 4 kB / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.447e-05/0.01075, allocations: 4 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.01076, allocations: 0 / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.01096, allocations: 55.89 kB / 329.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.01096, allocations: 3.984 kB / 329.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.01101, allocations: 8 kB / 329.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.01102, allocations: 4 kB / 329.6 MB, free: 3.102 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 7.145e-05/0.01109, allocations: 133.8 kB / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.01112, allocations: 15.98 kB / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.01115, allocations: 17.12 kB / 329.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01115, allocations: 4 kB / 329.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01115, allocations: 0 / 329.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01116, allocations: 0 / 329.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.01152, allocations: 364.1 kB / 330.1 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01152, allocations: 0 / 330.1 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.01165, allocations: 51.91 kB / 330.2 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.01165, allocations: 0 / 330.2 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.01166, allocations: 4 kB / 330.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.01167, allocations: 8 kB / 330.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01167, allocations: 3.938 kB / 330.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.01181, allocations: 199.4 kB / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.01184, allocations: 23.89 kB / 330.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.01186, allocations: 7.938 kB / 330.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.01193, allocations: 11.94 kB / 330.4 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.01198, allocations: 23.91 kB / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.01199, allocations: 7.984 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.906e-05/0.01202, allocations: 35.88 kB / 330.5 MB, free: 2.156 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01202, allocations: 0 / 330.5 MB, free: 2.156 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001601/0.01218, allocations: 36 kB / 330.5 MB, free: 2.121 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 0.0001027/0.01228, allocations: 77.3 kB / 330.6 MB, free: 2.039 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.01243, allocations: 91.09 kB / 330.7 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.01243, allocations: 4 kB / 330.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.333e-05/0.01249, allocations: 52.97 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.01267, allocations: 23.98 kB / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.01336, allocations: 357.3 kB / 331.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.318e-05/0.0134, allocations: 76.56 kB / 331.2 MB, free: 1.398 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.01351, allocations: 29.47 kB / 331.2 MB, free: 1.367 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.01377, allocations: 83.34 kB / 331.3 MB, free: 1.285 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01377, allocations: 0 / 331.3 MB, free: 1.285 MB / 298.7 MB Notification: Performance of Templates: time 0.003637/0.01741, allocations: 2.153 MB / 333.5 MB, free: 15.16 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 -s gbode -gbm=radauIIA3 -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.823593234177679]