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.000852/0.000852, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004193/0.004193, allocations: 161.5 kB / 24.7 MB, free: 9.418 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.8499/0.8499, allocations: 177.1 MB / 205 MB, free: 5.711 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.2386/0.2386, allocations: 32.79 MB / 294.2 MB, free: 1.203 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.272e-06/1.272e-06, allocations: 0 / 440.8 MB, free: 3.746 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/1.999e-05, allocations: 6.844 kB / 440.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002081/0.002101, allocations: 2.015 MB / 442.9 MB, free: 1.711 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007521/0.002853, allocations: 0.5726 MB / 443.4 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.002928, allocations: 4 kB / 443.4 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.267e-05/0.003021, allocations: 19.73 kB / 443.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/0.003097, allocations: 43.64 kB / 443.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.00342, allocations: 95.67 kB / 443.6 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.0036, allocations: 183.2 kB / 443.8 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.003718, allocations: 33.78 kB / 443.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.003882, allocations: 115.8 kB / 443.9 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.737e-05/0.003979, allocations: 59.84 kB / 444 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.004002, allocations: 20 kB / 444 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.033e-05/0.004043, allocations: 12 kB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.004069, allocations: 43.83 kB / 444.1 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.004109, allocations: 43.91 kB / 444.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.004306, allocations: 199.3 kB / 444.3 MB, free: 284 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.004308, allocations: 0 / 444.3 MB, free: 284 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004309, allocations: 0 / 444.3 MB, free: 284 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.004313, allocations: 0 / 444.3 MB, free: 284 kB / 410.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.1655/0.1698, allocations: 386 kB / 444.7 MB, free: 46.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1699, allocations: 8.469 kB / 444.7 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.17, allocations: 26.11 kB / 444.7 MB, free: 46.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.1702, allocations: 151.1 kB / 444.9 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1702, allocations: 9.859 kB / 444.9 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.1702, allocations: 11.84 kB / 444.9 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.1705, allocations: 216.5 kB / 445.1 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1705, allocations: 3.469 kB / 445.1 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.1705, allocations: 11.75 kB / 445.1 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1705, allocations: 2.969 kB / 445.1 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.1707, allocations: 110.5 kB / 445.2 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.1711, allocations: 0.5813 MB / 445.8 MB, free: 46.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.1713, allocations: 134 kB / 445.9 MB, free: 46.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.885e-05/0.1714, allocations: 60.42 kB / 446 MB, free: 46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1714, allocations: 2.5 kB / 446 MB, free: 46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.1714, allocations: 39.69 kB / 446 MB, free: 45.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.1714, allocations: 0 / 446 MB, free: 45.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007436/0.1722, allocations: 406.5 kB / 446.4 MB, free: 45.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.1722, allocations: 54.28 kB / 446.5 MB, free: 45.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.368e-05/0.1723, allocations: 154 kB / 446.6 MB, free: 45.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1723, allocations: 28.67 kB / 446.7 MB, free: 45.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.1723, allocations: 124.4 kB / 446.8 MB, free: 45.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.1724, allocations: 63.02 kB / 446.8 MB, free: 45.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.1724, allocations: 39.16 kB / 446.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.392e-05/0.1724, allocations: 324.7 kB / 447.2 MB, free: 45.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.1725, allocations: 66.97 kB / 447.3 MB, free: 45.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1727, allocations: 96.86 kB / 447.3 MB, free: 45.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.1729, allocations: 181.6 kB / 447.5 MB, free: 44.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1729, allocations: 0 / 447.5 MB, free: 44.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002518/0.1731, allocations: 216 kB / 447.7 MB, free: 44.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1731, allocations: 5.906 kB / 447.7 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1731, allocations: 6.047 kB / 447.7 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1731, allocations: 0 / 447.7 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.1733, allocations: 53.73 kB / 447.8 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1733, allocations: 3.281 kB / 447.8 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.1734, allocations: 13.31 kB / 447.8 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1734, allocations: 9 kB / 447.8 MB, free: 44.84 MB / 410.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 5.634e-05/0.1734, allocations: 138.2 kB / 448 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.1735, allocations: 13.72 kB / 448 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.1735, allocations: 23.19 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1735, allocations: 2.875 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1735, allocations: 3.375 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1735, allocations: 2.188 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.174, allocations: 0.5354 MB / 448.5 MB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.174, allocations: 0 / 448.5 MB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1741, allocations: 47.25 kB / 448.6 MB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1741, allocations: 0 / 448.6 MB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1741, allocations: 4 kB / 448.6 MB, free: 44.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1741, allocations: 9.812 kB / 448.6 MB, free: 44.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1741, allocations: 96 / 448.6 MB, free: 44.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1743, allocations: 293.5 kB / 448.9 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.1744, allocations: 35.72 kB / 448.9 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1744, allocations: 7.094 kB / 448.9 MB, free: 44.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/0.1745, allocations: 12.95 kB / 448.9 MB, free: 44.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.1745, allocations: 16.42 kB / 449 MB, free: 44.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.1745, allocations: 9.031 kB / 449 MB, free: 44.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.313e-05/0.1745, allocations: 117.5 kB / 449.1 MB, free: 43.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1745, allocations: 0 / 449.1 MB, free: 43.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000167/0.1747, allocations: 35.59 kB / 449.1 MB, free: 43.98 MB / 410.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.278e-05/0.1748, allocations: 100.6 kB / 449.2 MB, free: 43.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.175, allocations: 161.7 kB / 449.4 MB, free: 43.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.175, allocations: 0 / 449.4 MB, free: 43.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.1751, allocations: 96.06 kB / 449.5 MB, free: 43.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.1754, allocations: 18.42 kB / 449.5 MB, free: 43.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.1758, allocations: 363.1 kB / 449.8 MB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.791e-05/0.1759, allocations: 103 kB / 449.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.1759, allocations: 19.41 kB / 450 MB, free: 43.49 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1759, allocations: 4 kB / 450 MB, free: 43.48 MB / 410.7 MB Notification: Performance of Templates: time 0.002325/0.1782, allocations: 2.2 MB / 452.2 MB, free: 43.34 MB / 410.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=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/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_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: 4.63836161326617]