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.001559/0.001559, allocations: 111.4 kB / 17.99 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001416, allocations: 213.8 kB / 18.93 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 247.1 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.11 MB / 344.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003084/0.003084, allocations: 80.48 kB / 417.8 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.125, allocations: 62.45 MB / 480.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003885/0.1289, allocations: 2.12 MB / 482.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1302, allocations: 0.5923 MB / 482.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1303, allocations: 0 / 482.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.1305, allocations: 19.84 kB / 483 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.1306, allocations: 35.7 kB / 483 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.1311, allocations: 67.91 kB / 483.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.1314, allocations: 187.3 kB / 483.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.1315, allocations: 45.53 kB / 483.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.1318, allocations: 91.69 kB / 483.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1319, allocations: 75.67 kB / 483.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.132, allocations: 16 kB / 483.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.565e-05/0.132, allocations: 16 kB / 483.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.1321, allocations: 39.84 kB / 483.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1322, allocations: 75.66 kB / 483.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.1325, allocations: 139.9 kB / 483.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.1325, allocations: 4 kB / 483.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1325, allocations: 0 / 483.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1325, allocations: 0 / 483.7 MB, free: 2.047 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.001026/0.1335, allocations: 455.1 kB / 484.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1336, allocations: 12.03 kB / 484.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.1338, allocations: 20.83 kB / 484.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.1341, allocations: 208.5 kB / 484.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.1342, allocations: 12.61 kB / 484.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.1342, allocations: 16.12 kB / 484.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.1346, allocations: 163.7 kB / 484.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.1346, allocations: 7.844 kB / 484.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.1347, allocations: 4 kB / 484.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.1347, allocations: 4 kB / 484.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/0.135, allocations: 111.9 kB / 484.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.1361, allocations: 0.6807 MB / 485.4 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.1365, allocations: 150.5 kB / 485.5 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.1367, allocations: 56.88 kB / 485.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.1367, allocations: 3.938 kB / 485.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.1368, allocations: 38.56 kB / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.1368, allocations: 0 / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001398/0.1382, allocations: 406.5 kB / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.1383, allocations: 55.41 kB / 486.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.1384, allocations: 158.1 kB / 486.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1384, allocations: 25.7 kB / 486.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.491e-05/0.1385, allocations: 124.2 kB / 486.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.1386, allocations: 67.11 kB / 486.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/0.1387, allocations: 37.7 kB / 486.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1389, allocations: 326.8 kB / 486.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.1391, allocations: 63.95 kB / 486.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.1393, allocations: 103.4 kB / 487 MB, free: 14.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.1397, allocations: 167.3 kB / 487.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1397, allocations: 0 / 487.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005329/0.1403, allocations: 224.1 kB / 487.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1403, allocations: 7.938 kB / 487.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.1403, allocations: 4 kB / 487.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1403, allocations: 0 / 487.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.1406, allocations: 43.97 kB / 487.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1407, allocations: 12.03 kB / 487.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.1408, allocations: 15.98 kB / 487.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.1409, allocations: 4 kB / 487.4 MB, free: 14.06 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.0001385/0.141, allocations: 129.8 kB / 487.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.1411, allocations: 19.8 kB / 487.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.031e-05/0.1411, allocations: 17.19 kB / 487.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.1411, allocations: 7.984 kB / 487.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1411, allocations: 7.875 kB / 487.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1412, allocations: 4 kB / 487.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.1423, allocations: 0.6201 MB / 488.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1423, allocations: 7.938 kB / 488.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.1425, allocations: 43.95 kB / 488.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1426, allocations: 0 / 488.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.1426, allocations: 4 kB / 488.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1426, allocations: 0 / 488.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1426, allocations: 4 kB / 488.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.1432, allocations: 309.3 kB / 488.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.1433, allocations: 100.9 kB / 488.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.1433, allocations: 7.938 kB / 488.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.1435, allocations: 15.98 kB / 488.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/0.1436, allocations: 11.98 kB / 488.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.1437, allocations: 8 kB / 488.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1438, allocations: 111.2 kB / 488.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1438, allocations: 4 kB / 488.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.1441, allocations: 40 kB / 488.9 MB, free: 12.5 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.0001534/0.1442, allocations: 95.23 kB / 489 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005157/0.1448, allocations: 180 kB / 489.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1448, allocations: 0 / 489.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.145, allocations: 96.03 kB / 489.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1454, allocations: 26.27 kB / 489.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008549/0.1463, allocations: 442.7 kB / 489.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.1467, allocations: 0.7171 MB / 490.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.1468, allocations: 23.44 kB / 490.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1468, allocations: 0 / 490.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of Templates: time 0.004528/0.1513, allocations: 2.134 MB / 492.6 MB, free: 8.75 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