Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001161, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9492/0.9492, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2698/0.2698, allocations: 34.86 MB / 296.6 MB, free: 404 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.897e-05, allocations: 3.406 kB / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003842/0.00387, allocations: 2.097 MB / 328 MB, free: 5.039 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.005278, allocations: 0.6003 MB / 328.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.005407, allocations: 3.938 kB / 328.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.005539, allocations: 23.78 kB / 328.6 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.005686, allocations: 43.58 kB / 328.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.006123, allocations: 79.81 kB / 328.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.00645, allocations: 195.9 kB / 329 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.006573, allocations: 34.42 kB / 329 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003102/0.006883, allocations: 119.7 kB / 329.1 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.007025, allocations: 63.84 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.007056, allocations: 16 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.605e-05/0.007112, allocations: 20 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.479e-05/0.007147, allocations: 31.84 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.00721, allocations: 55.89 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.007431, allocations: 127.5 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.007434, allocations: 7.938 kB / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007436, allocations: 0 / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.00744, allocations: 0 / 329.4 MB, free: 3.629 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.0005833/0.008023, allocations: 353.8 kB / 329.8 MB, free: 3.258 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.008058, allocations: 16.03 kB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.008206, allocations: 28.91 kB / 329.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.008524, allocations: 142.1 kB / 329.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.008547, allocations: 12.61 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.008583, allocations: 12.38 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.008838, allocations: 202.4 kB / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.008852, allocations: 3.938 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.008869, allocations: 4 kB / 330.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.008878, allocations: 8 kB / 330.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.908e-05/0.008977, allocations: 47.91 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006398/0.009617, allocations: 491.4 kB / 330.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.009775, allocations: 78.53 kB / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.009823, allocations: 28.86 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.009841, allocations: 4 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.009867, allocations: 34.56 kB / 330.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.009868, allocations: 0 / 330.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006284/0.0105, allocations: 229.7 kB / 331.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.01053, allocations: 55.41 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.01064, allocations: 146.6 kB / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.01066, allocations: 29.7 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.01072, allocations: 120.3 kB / 331.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.01077, allocations: 67.42 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.01084, allocations: 41.69 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.01093, allocations: 330.8 kB / 331.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.01098, allocations: 16 kB / 331.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.01104, allocations: 56.89 kB / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.01116, allocations: 93.66 kB / 332 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.01117, allocations: 0 / 332 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001861/0.01135, allocations: 121.5 kB / 332.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.01137, allocations: 9.188 kB / 332.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01137, allocations: 4 kB / 332.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01139, allocations: 0 / 332.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.01158, allocations: 51.91 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.01159, allocations: 0 / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.01167, allocations: 8 kB / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.01168, allocations: 7.984 kB / 332.2 MB, free: 0.6211 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 9.282e-05/0.01178, allocations: 121.9 kB / 332.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.01182, allocations: 19.98 kB / 332.3 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.01186, allocations: 17.12 kB / 332.4 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01186, allocations: 4 kB / 332.4 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01186, allocations: 0 / 332.4 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.01187, allocations: 3.984 kB / 332.4 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.01246, allocations: 367.2 kB / 332.7 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.01246, allocations: 4 kB / 332.7 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.01262, allocations: 31.98 kB / 332.8 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.01262, allocations: 7.984 kB / 332.8 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.01264, allocations: 8 kB / 332.8 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.01264, allocations: 0 / 332.8 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.01264, allocations: 3.938 kB / 332.8 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.01289, allocations: 206.5 kB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.01294, allocations: 11.91 kB / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.01297, allocations: 12 kB / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.01309, allocations: 11.98 kB / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.01314, allocations: 19.91 kB / 333 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.01316, allocations: 4 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.332e-05/0.0132, allocations: 34.25 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0132, allocations: 0 / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.01347, allocations: 43.98 kB / 333.1 MB, free: 15.66 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 0.0001351/0.0136, allocations: 80.3 kB / 333.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.0138, allocations: 92.7 kB / 333.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.01381, allocations: 4 kB / 333.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.758e-05/0.01388, allocations: 44.78 kB / 333.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.01414, allocations: 30.59 kB / 333.4 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.01529, allocations: 357.7 kB / 333.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.814e-05/0.01535, allocations: 72.58 kB / 333.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.01548, allocations: 25.48 kB / 333.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.01564, allocations: 83.34 kB / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01564, allocations: 0 / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of Templates: time 0.004855/0.0205, allocations: 2.112 MB / 336 MB, free: 12.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 2.928424517158419]