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.001246/0.001246, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 79.53 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.114, allocations: 62.44 MB / 481.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003272/0.1173, allocations: 2.07 MB / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009599/0.1183, allocations: 0.5961 MB / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/0.1184, allocations: 4 kB / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.1185, allocations: 27.72 kB / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.627e-05/0.1186, allocations: 39.64 kB / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.119, allocations: 79.83 kB / 484.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.1193, allocations: 179.3 kB / 484.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.1194, allocations: 53.52 kB / 484.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.1196, allocations: 83.7 kB / 484.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.1198, allocations: 83.67 kB / 484.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.1198, allocations: 12 kB / 484.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.573e-05/0.1199, allocations: 19.98 kB / 484.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.1199, allocations: 39.78 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.12, allocations: 79.66 kB / 484.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.1203, allocations: 179.3 kB / 485 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1203, allocations: 4 kB / 485 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1203, allocations: 0 / 485 MB, free: 1.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1203, allocations: 0 / 485 MB, free: 1.012 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.0007144/0.1211, allocations: 455 kB / 485.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.1211, allocations: 12.03 kB / 485.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.1212, allocations: 24.83 kB / 485.5 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.1215, allocations: 212.2 kB / 485.7 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1215, allocations: 12.61 kB / 485.7 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.1215, allocations: 24.05 kB / 485.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.1218, allocations: 161.8 kB / 485.9 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1219, allocations: 7.906 kB / 485.9 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.1219, allocations: 4 kB / 485.9 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1219, allocations: 4 kB / 485.9 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.1222, allocations: 104 kB / 486 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.123, allocations: 0.6846 MB / 486.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.1233, allocations: 130.6 kB / 486.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.1235, allocations: 64.77 kB / 486.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1235, allocations: 11.94 kB / 486.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1236, allocations: 30.56 kB / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.1236, allocations: 0 / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001261/0.1248, allocations: 404.1 kB / 487.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.1249, allocations: 51.41 kB / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.125, allocations: 162.1 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1251, allocations: 29.7 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.1251, allocations: 116.2 kB / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/0.1252, allocations: 63.09 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.419e-05/0.1253, allocations: 37.7 kB / 487.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1254, allocations: 334.8 kB / 488.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.1256, allocations: 63.95 kB / 488.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.1258, allocations: 95.33 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.1261, allocations: 175.3 kB / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1262, allocations: 0 / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004378/0.1266, allocations: 221.3 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1266, allocations: 4 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1266, allocations: 0 / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1266, allocations: 4 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.1269, allocations: 55.83 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.127, allocations: 7.938 kB / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.1271, allocations: 8 kB / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.1271, allocations: 15.92 kB / 488.7 MB, free: 13.02 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.0001069/0.1272, allocations: 125.9 kB / 488.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.1273, allocations: 15.81 kB / 488.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.1274, allocations: 25.17 kB / 488.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1274, allocations: 7.938 kB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.1274, allocations: 3.938 kB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1274, allocations: 3.984 kB / 488.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009177/0.1283, allocations: 0.6183 MB / 489.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1283, allocations: 0 / 489.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.1286, allocations: 47.97 kB / 489.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1286, allocations: 0 / 489.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.1286, allocations: 4 kB / 489.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1286, allocations: 3.938 kB / 489.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1286, allocations: 0 / 489.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.1291, allocations: 309.4 kB / 489.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.818e-05/0.1292, allocations: 104.9 kB / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.1292, allocations: 4 kB / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.1294, allocations: 15.98 kB / 490 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.1295, allocations: 15.98 kB / 490 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.1295, allocations: 7.984 kB / 490 MB, free: 11.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.775e-05/0.1296, allocations: 119.2 kB / 490.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1296, allocations: 0 / 490.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1299, allocations: 36 kB / 490.2 MB, free: 11.46 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.0001083/0.13, allocations: 99.19 kB / 490.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000422/0.1304, allocations: 163.9 kB / 490.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1304, allocations: 0 / 490.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.1306, allocations: 87.89 kB / 490.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.1309, allocations: 33.95 kB / 490.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006578/0.1316, allocations: 365 kB / 490.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.1318, allocations: 0.7171 MB / 491.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.132, allocations: 29.41 kB / 491.6 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.1321, allocations: 19.44 kB / 491.6 MB, free: 9.91 MB / 366.1 MB Notification: Performance of SimCode: time 1.663e-06/0.1321, allocations: 0 / 491.6 MB, free: 9.91 MB / 366.1 MB Notification: Performance of Templates: time 0.004502/0.1366, allocations: 1.949 MB / 493.6 MB, free: 7.973 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 -s cvode -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