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.0007872/0.0007872, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.001891, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007987/0.0007987, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008982/0.001697, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.912/0.912, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08516/0.9972, allocations: 53.88 MB / 243.8 MB, free: 14.91 MB / 250.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.252/0.252, allocations: 34.86 MB / 279.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02033/0.2723, allocations: 13.23 MB / 292.6 MB, free: 6.477 MB / 282.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.412e-06/1.412e-06, allocations: 0 / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.474e-05, allocations: 3.844 kB / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002379/0.002394, allocations: 2.133 MB / 296 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006723/0.003066, allocations: 0.608 MB / 296.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.003135, allocations: 8 kB / 296.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.346e-05/0.003188, allocations: 19.78 kB / 296.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.116e-05/0.003259, allocations: 39.58 kB / 296.7 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.003438, allocations: 83.75 kB / 296.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.003605, allocations: 195.2 kB / 297 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.003695, allocations: 34.42 kB / 297 MB, free: 2.066 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.003854, allocations: 131.7 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.003956, allocations: 67.84 kB / 297.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.003977, allocations: 12 kB / 297.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.438e-05/0.004032, allocations: 16 kB / 297.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.004056, allocations: 23.88 kB / 297.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.004093, allocations: 43.94 kB / 297.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.004241, allocations: 111.5 kB / 297.4 MB, free: 1.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.004252, allocations: 0 / 297.4 MB, free: 1.668 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004253, allocations: 4 kB / 297.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.004263, allocations: 0 / 297.4 MB, free: 1.664 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005793/0.004842, allocations: 393.3 kB / 297.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.00487, allocations: 10.55 kB / 297.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.004994, allocations: 106 kB / 297.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.005129, allocations: 146.1 kB / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.005138, allocations: 8.609 kB / 298 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.005163, allocations: 12.38 kB / 298 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.005333, allocations: 202.4 kB / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.005342, allocations: 3.938 kB / 298.3 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.005354, allocations: 8 kB / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.005359, allocations: 0 / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.91e-05/0.005428, allocations: 51.91 kB / 298.3 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.005832, allocations: 483.4 kB / 298.8 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.005941, allocations: 90.42 kB / 298.9 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.005975, allocations: 28.86 kB / 298.9 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.005993, allocations: 4 kB / 298.9 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.006019, allocations: 30.56 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.00602, allocations: 0 / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004278/0.006448, allocations: 233.5 kB / 299.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.006472, allocations: 59.34 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.663e-05/0.006539, allocations: 146.5 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.006555, allocations: 41.69 kB / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.006594, allocations: 112.4 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.006626, allocations: 63.42 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/0.006713, allocations: 37.69 kB / 299.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.768e-05/0.006781, allocations: 330.7 kB / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.006811, allocations: 23.98 kB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.006854, allocations: 52.91 kB / 300 MB, free: 14.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.134e-05/0.006936, allocations: 95.25 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.006937, allocations: 4 kB / 300.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001105/0.007048, allocations: 115.2 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.00706, allocations: 8 kB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.007064, allocations: 0 / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/0.00707, allocations: 0 / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.007261, allocations: 59.89 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.007265, allocations: 0 / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.007315, allocations: 16.09 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.007325, allocations: 7.984 kB / 300.3 MB, free: 14.52 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 5.775e-05/0.007383, allocations: 121.7 kB / 300.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.007407, allocations: 15.98 kB / 300.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.007432, allocations: 21.12 kB / 300.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.007434, allocations: 0 / 300.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.007436, allocations: 0 / 300.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007439, allocations: 0 / 300.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.007781, allocations: 376.2 kB / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.007782, allocations: 0 / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.007913, allocations: 47.91 kB / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.007943, allocations: 15.89 kB / 300.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.007946, allocations: 4 kB / 300.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.007955, allocations: 7.938 kB / 300.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007956, allocations: 0 / 300.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.007957, allocations: 0 / 300.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.008076, allocations: 203.4 kB / 301.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.008089, allocations: 0 / 301.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.008409, allocations: 23.92 kB / 301.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.008446, allocations: 19.91 kB / 301.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.008454, allocations: 4 kB / 301.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.366e-05/0.008478, allocations: 38.05 kB / 301.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008478, allocations: 0 / 301.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001405/0.008618, allocations: 39.94 kB / 301.2 MB, free: 13.54 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 5.828e-05/0.008676, allocations: 80.41 kB / 301.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.008787, allocations: 84.94 kB / 301.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.008794, allocations: 4 kB / 301.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.953e-05/0.008843, allocations: 59.83 kB / 301.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.008998, allocations: 37.69 kB / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.01048, allocations: 365.8 kB / 301.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.433e-05/0.01051, allocations: 68.58 kB / 301.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.465e-05/0.01061, allocations: 29.47 kB / 301.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.01072, allocations: 87.34 kB / 302 MB, free: 12.68 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01072, allocations: 0 / 302 MB, free: 12.68 MB / 298.7 MB Notification: Performance of Templates: time 0.003273/0.01399, allocations: 2.216 MB / 304.2 MB, free: 10.52 MB / 298.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 -ignoreHideResult -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.703056982718408]