Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009813/0.0009813, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001556/0.001556, allocations: 161.4 kB / 25.61 MB, free: 8.582 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.9412/0.9412, allocations: 177.1 MB / 206 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1644/0.1644, allocations: 34.25 MB / 296.8 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.522e-05, allocations: 10.25 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003446/0.003471, allocations: 2.082 MB / 381.4 MB, free: 21.31 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.004588, allocations: 0.592 MB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.00472, allocations: 3.938 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.004849, allocations: 15.8 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.004965, allocations: 51.56 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.005326, allocations: 79.88 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.005552, allocations: 199.1 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.005679, allocations: 33.72 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.005944, allocations: 115.8 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.006084, allocations: 63.84 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.006114, allocations: 12 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.786e-05/0.006172, allocations: 16 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.423e-05/0.006206, allocations: 39.83 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.006262, allocations: 55.89 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.006474, allocations: 135.5 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.006478, allocations: 0 / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006479, allocations: 0 / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.006483, allocations: 0 / 382.8 MB, free: 19.91 MB / 314.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.0005819/0.007065, allocations: 484 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.007103, allocations: 12.03 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.007258, allocations: 32.84 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.007442, allocations: 160.9 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.007461, allocations: 12.61 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.007496, allocations: 16.31 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.007743, allocations: 195 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.007758, allocations: 7.938 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.007775, allocations: 4 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.007783, allocations: 4 kB / 383.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.007887, allocations: 59.88 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.008493, allocations: 0.6882 MB / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.008668, allocations: 95.03 kB / 384.5 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.008719, allocations: 35.67 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.008738, allocations: 3.984 kB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.008757, allocations: 41.39 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.008759, allocations: 0 / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006673/0.009426, allocations: 254.7 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.009447, allocations: 51.41 kB / 384.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.009533, allocations: 212.6 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.009548, allocations: 25.7 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.009608, allocations: 167.1 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.009647, allocations: 75.39 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.398e-05/0.009711, allocations: 43.31 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.69e-05/0.009788, allocations: 0.5001 MB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.009841, allocations: 23.92 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/0.009913, allocations: 73.83 kB / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.01005, allocations: 101.6 kB / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01005, allocations: 0 / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002126/0.01026, allocations: 145.5 kB / 386.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.01027, allocations: 4 kB / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.01028, allocations: 4 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.01029, allocations: 0 / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.01051, allocations: 51.91 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.01051, allocations: 0 / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.455e-05/0.01061, allocations: 8 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.01062, allocations: 8 kB / 386.3 MB, free: 16.1 MB / 314.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.555e-05/0.0107, allocations: 176.4 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.01075, allocations: 23.94 kB / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.01078, allocations: 21.12 kB / 386.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01078, allocations: 4 kB / 386.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01078, allocations: 0 / 386.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01079, allocations: 0 / 386.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.01131, allocations: 478.9 kB / 387 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01131, allocations: 0 / 387 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.01148, allocations: 43.91 kB / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.01149, allocations: 4 kB / 387.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.0115, allocations: 8 kB / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.0115, allocations: 0 / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.0115, allocations: 3.938 kB / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.01171, allocations: 282.7 kB / 387.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.01176, allocations: 23.89 kB / 387.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.01179, allocations: 4 kB / 387.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.01192, allocations: 11.98 kB / 387.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.01197, allocations: 23.84 kB / 387.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.01199, allocations: 4 kB / 387.4 MB, free: 14.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.124e-05/0.01203, allocations: 154.4 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01203, allocations: 4 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003144/0.01234, allocations: 39.94 kB / 387.6 MB, free: 14.75 MB / 314.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 9.731e-05/0.01244, allocations: 95.25 kB / 387.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.01263, allocations: 99.5 kB / 387.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01263, allocations: 0 / 387.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.047e-05/0.01271, allocations: 59.59 kB / 387.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.01305, allocations: 28.16 kB / 387.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/0.01391, allocations: 350.5 kB / 388.2 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.01395, allocations: 72.56 kB / 388.3 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000142/0.01409, allocations: 33.47 kB / 388.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.01424, allocations: 102.2 kB / 388.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01424, allocations: 0 / 388.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of Templates: time 0.003536/0.01778, allocations: 2.206 MB / 390.6 MB, free: 11.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.099972700700164]