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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007372/0.0007372, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001831, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006334/0.0006334, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000981/0.001614, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8765/0.8765, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1897/1.066, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.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.1289/0.1289, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02069/0.1496, allocations: 12.53 MB / 284.5 MB, free: 9.723 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.503e-06/1.503e-06, allocations: 3.938 kB / 285.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.92e-05, allocations: 2.312 kB / 285.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003453/0.003472, allocations: 2.161 MB / 288 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009302/0.004403, allocations: 0.5414 MB / 288.6 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.797e-05/0.004501, allocations: 3.938 kB / 288.6 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.911e-05/0.00459, allocations: 23.78 kB / 288.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.004711, allocations: 39.58 kB / 288.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.004992, allocations: 71.88 kB / 288.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.005251, allocations: 199.2 kB / 288.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.005367, allocations: 26.45 kB / 288.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.005611, allocations: 143.6 kB / 289.1 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.005765, allocations: 67.78 kB / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.005806, allocations: 12 kB / 289.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.322e-05/0.005839, allocations: 16 kB / 289.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.005877, allocations: 19.94 kB / 289.2 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.005937, allocations: 47.88 kB / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.00614, allocations: 107.7 kB / 289.3 MB, free: 4.926 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-05/0.006155, allocations: 0 / 289.3 MB, free: 4.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.006156, allocations: 4 kB / 289.3 MB, free: 4.922 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.006169, allocations: 0 / 289.3 MB, free: 4.922 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006622/0.006831, allocations: 387.8 kB / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.006869, allocations: 12.03 kB / 289.7 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.006932, allocations: 20.92 kB / 289.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.007143, allocations: 152.1 kB / 289.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.007159, allocations: 8.375 kB / 289.9 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.007199, allocations: 16.31 kB / 289.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.007484, allocations: 201.3 kB / 290.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.007497, allocations: 3.938 kB / 290.1 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.007514, allocations: 8 kB / 290.1 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.007522, allocations: 4 kB / 290.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.007643, allocations: 50.48 kB / 290.2 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/0.008312, allocations: 492.6 kB / 290.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.008539, allocations: 86.53 kB / 290.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/0.008596, allocations: 32.84 kB / 290.8 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.008618, allocations: 0 / 290.8 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.008647, allocations: 38.5 kB / 290.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.008649, allocations: 0 / 290.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007292/0.009378, allocations: 253 kB / 291.1 MB, free: 3.066 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.009411, allocations: 55.41 kB / 291.1 MB, free: 3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.009513, allocations: 153.5 kB / 291.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.009534, allocations: 33.7 kB / 291.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.009588, allocations: 108.4 kB / 291.4 MB, free: 2.691 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.009638, allocations: 71.36 kB / 291.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.009705, allocations: 41.69 kB / 291.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.009807, allocations: 326.8 kB / 291.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.703e-05/0.009854, allocations: 23.92 kB / 291.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.019e-05/0.009925, allocations: 55.41 kB / 291.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.01006, allocations: 99.25 kB / 292 MB, free: 2.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.01007, allocations: 8 kB / 292 MB, free: 2.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000188/0.01026, allocations: 112.2 kB / 292.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.01027, allocations: 11.94 kB / 292.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01028, allocations: 0 / 292.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.01029, allocations: 4.094 kB / 292.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.01059, allocations: 59.89 kB / 292.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.0106, allocations: 4 kB / 292.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.99e-05/0.01069, allocations: 8 kB / 292.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.0107, allocations: 4 kB / 292.2 MB, free: 1.836 MB / 282.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 (23): * Single equations (assignments): 23 * 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 9.539e-05/0.0108, allocations: 129.7 kB / 292.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.01086, allocations: 15.92 kB / 292.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.0109, allocations: 21.12 kB / 292.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.0109, allocations: 8 kB / 292.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.0109, allocations: 0 / 292.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01091, allocations: 0 / 292.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.01147, allocations: 369.6 kB / 292.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01147, allocations: 0 / 292.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.0117, allocations: 59.89 kB / 292.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.01175, allocations: 15.89 kB / 292.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.01176, allocations: 4 kB / 292.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.01177, allocations: 4 kB / 292.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.01177, allocations: 0 / 292.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01178, allocations: 0 / 292.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.01203, allocations: 209.5 kB / 293 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.01206, allocations: 4 kB / 293 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.01219, allocations: 15.98 kB / 293 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.01225, allocations: 11.97 kB / 293.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.01227, allocations: 4 kB / 293.1 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.7e-05/0.01231, allocations: 46.38 kB / 293.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01231, allocations: 0 / 293.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000268/0.01258, allocations: 44 kB / 293.1 MB, free: 0.8359 MB / 282.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 (20): * Single equations (assignments): 20 * 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.0001213/0.0127, allocations: 72.42 kB / 293.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.0129, allocations: 104.6 kB / 293.3 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/0.01291, allocations: 3.984 kB / 293.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.728e-05/0.01301, allocations: 63.88 kB / 293.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.01333, allocations: 121.1 kB / 293.5 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.01526, allocations: 396.9 kB / 293.9 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.134e-05/0.01532, allocations: 72.33 kB / 294 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.01542, allocations: 33.47 kB / 294 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.01555, allocations: 87.34 kB / 294.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01555, allocations: 3.938 kB / 294.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of Templates: time 0.004001/0.01955, allocations: 2.395 MB / 296.5 MB, free: 13.46 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5716780982911587]