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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|gasForce.dens|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=5000,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009488/0.0009488, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001139/0.001139, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.7 MB / 247.5 MB, free: 9.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1902/0.1902, allocations: 46.18 MB / 345.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002831/0.0002832, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1093, allocations: 63.56 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002216/0.1116, allocations: 1.778 MB / 485.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009975/0.1126, allocations: 0.5845 MB / 486.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.049e-05/0.1127, allocations: 4 kB / 486.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.671e-05/0.1128, allocations: 15.84 kB / 486.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.487e-05/0.1129, allocations: 31.7 kB / 486.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.1133, allocations: 79.91 kB / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.1135, allocations: 171.3 kB / 486.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1136, allocations: 37.53 kB / 486.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.1138, allocations: 67.77 kB / 486.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1139, allocations: 79.67 kB / 486.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.114, allocations: 12 kB / 486.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.022e-05/0.114, allocations: 8 kB / 486.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.339e-05/0.1141, allocations: 35.77 kB / 486.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.877e-05/0.1142, allocations: 93.36 kB / 486.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.1143, allocations: 131.9 kB / 486.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1143, allocations: 0 / 486.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1143, allocations: 0 / 486.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1144, allocations: 0 / 486.8 MB, free: 1.031 MB / 350.1 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.0007099/0.1151, allocations: 431.2 kB / 487.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1151, allocations: 8.875 kB / 487.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.1153, allocations: 28.73 kB / 487.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.1155, allocations: 216.6 kB / 487.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1155, allocations: 8.609 kB / 487.5 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.1156, allocations: 20.03 kB / 487.5 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.1159, allocations: 171.6 kB / 487.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1159, allocations: 0 / 487.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.116, allocations: 4 kB / 487.7 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.116, allocations: 4 kB / 487.7 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.1163, allocations: 119.8 kB / 487.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000865/0.1172, allocations: 0.6924 MB / 488.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.1175, allocations: 138.5 kB / 488.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.1177, allocations: 60.84 kB / 488.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1177, allocations: 7.938 kB / 488.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1177, allocations: 34.55 kB / 488.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.664e-06/0.1177, allocations: 0 / 488.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001345/0.1191, allocations: 436.6 kB / 489.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.1191, allocations: 55.34 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1193, allocations: 158.1 kB / 489.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1193, allocations: 33.7 kB / 489.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.1194, allocations: 116.2 kB / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.1194, allocations: 59.11 kB / 489.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.1195, allocations: 25.7 kB / 489.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1196, allocations: 326.8 kB / 489.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.1198, allocations: 75.95 kB / 490 MB, free: 13.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.12, allocations: 103.4 kB / 490.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.1205, allocations: 186.1 kB / 490.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1205, allocations: 4 kB / 490.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004767/0.121, allocations: 225.3 kB / 490.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.121, allocations: 4 kB / 490.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.121, allocations: 4 kB / 490.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.121, allocations: 0 / 490.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.1213, allocations: 59.89 kB / 490.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1213, allocations: 7.938 kB / 490.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.1215, allocations: 20.08 kB / 490.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.1215, allocations: 4 kB / 490.6 MB, free: 12.98 MB / 366.1 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 0.0001096/0.1216, allocations: 129.8 kB / 490.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.1217, allocations: 15.81 kB / 490.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.1217, allocations: 25.17 kB / 490.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1218, allocations: 0 / 490.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1218, allocations: 3.938 kB / 490.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1218, allocations: 4 kB / 490.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009874/0.1228, allocations: 0.6395 MB / 491.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1228, allocations: 0 / 491.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.123, allocations: 51.84 kB / 491.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1231, allocations: 0 / 491.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1231, allocations: 7.984 kB / 491.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1231, allocations: 0 / 491.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1231, allocations: 4 kB / 491.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.1236, allocations: 317.6 kB / 491.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.378e-05/0.1237, allocations: 100.9 kB / 491.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.1237, allocations: 8 kB / 491.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.1239, allocations: 19.98 kB / 491.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.124, allocations: 11.97 kB / 492 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.124, allocations: 7.938 kB / 492 MB, free: 11.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.415e-05/0.1241, allocations: 119.2 kB / 492.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1241, allocations: 4 kB / 492.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.1244, allocations: 36 kB / 492.1 MB, free: 11.39 MB / 366.1 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.0001237/0.1245, allocations: 95.25 kB / 492.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004744/0.125, allocations: 184 kB / 492.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.125, allocations: 0 / 492.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.1253, allocations: 99.11 kB / 492.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.1257, allocations: 19.94 kB / 492.5 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007386/0.1264, allocations: 485.4 kB / 493 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.1267, allocations: 0.7174 MB / 493.7 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.981e-05/0.1268, allocations: 23.38 kB / 493.7 MB, free: 9.723 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1268, allocations: 0 / 493.7 MB, free: 9.723 MB / 366.1 MB Notification: Performance of Templates: time 0.003718/0.1305, allocations: 2.118 MB / 495.8 MB, free: 7.613 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches