Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 113.4 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 201.9 kB / 18.77 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 242.5 MB, free: 15.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.221/0.221, allocations: 44.18 MB / 336.8 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002168, allocations: 59.02 kB / 408.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1302, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003714/0.134, allocations: 2.132 MB / 471.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1351, allocations: 0.5261 MB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.1353, allocations: 0 / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.1354, allocations: 23.84 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.1356, allocations: 31.7 kB / 471.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.1361, allocations: 63.92 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.1363, allocations: 183.2 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.1365, allocations: 37.53 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.1367, allocations: 75.7 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.1369, allocations: 79.67 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.437e-05/0.1369, allocations: 8 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.089e-05/0.137, allocations: 12 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.137, allocations: 35.83 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.241e-05/0.1371, allocations: 71.59 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.1373, allocations: 135.9 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1373, allocations: 0 / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.1373, allocations: 0 / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.1374, allocations: 7.938 kB / 472.6 MB, free: 11.4 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001233/0.1386, allocations: 466.8 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.1386, allocations: 8.031 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/0.1387, allocations: 16.75 kB / 473.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.139, allocations: 212.7 kB / 473.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.139, allocations: 8.375 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.1391, allocations: 20.12 kB / 473.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.1395, allocations: 166.4 kB / 473.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.1395, allocations: 3.906 kB / 473.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.1396, allocations: 4 kB / 473.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.1396, allocations: 4 kB / 473.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.1399, allocations: 120.6 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.1412, allocations: 0.7016 MB / 474.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.1417, allocations: 146.5 kB / 474.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.1418, allocations: 60.83 kB / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.1419, allocations: 3.938 kB / 474.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.1419, allocations: 38.56 kB / 474.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/0.1419, allocations: 0 / 474.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001491/0.1434, allocations: 403.8 kB / 474.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.1435, allocations: 63.34 kB / 475 MB, free: 8.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1436, allocations: 150.2 kB / 475.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.1437, allocations: 29.7 kB / 475.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.317e-05/0.1438, allocations: 124.3 kB / 475.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.598e-05/0.1438, allocations: 67 kB / 475.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.474e-05/0.1439, allocations: 37.7 kB / 475.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1441, allocations: 330.8 kB / 475.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.1443, allocations: 71.95 kB / 475.8 MB, free: 7.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.1445, allocations: 105 kB / 475.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.145, allocations: 185.7 kB / 476.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.145, allocations: 0 / 476.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005465/0.1455, allocations: 217.3 kB / 476.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1456, allocations: 16.03 kB / 476.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1456, allocations: 0 / 476.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1456, allocations: 0 / 476.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.1459, allocations: 51.91 kB / 476.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.1459, allocations: 7.984 kB / 476.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.1461, allocations: 11.98 kB / 476.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.1462, allocations: 8 kB / 476.4 MB, free: 7.344 MB / 350.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 (23): * Single equations (assignments): 23 * 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.0001489/0.1463, allocations: 141.6 kB / 476.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.1464, allocations: 15.84 kB / 476.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.1464, allocations: 21.19 kB / 476.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1464, allocations: 4 kB / 476.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1465, allocations: 0 / 476.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1465, allocations: 0 / 476.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.148, allocations: 0.6358 MB / 477.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.148, allocations: 0 / 477.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.1483, allocations: 43.91 kB / 477.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1483, allocations: 3.938 kB / 477.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.1484, allocations: 8 kB / 477.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1484, allocations: 0 / 477.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1484, allocations: 7.984 kB / 477.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/0.149, allocations: 301.5 kB / 477.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-05/0.1491, allocations: 100.9 kB / 477.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.1491, allocations: 7.938 kB / 477.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.1493, allocations: 23.98 kB / 477.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.1494, allocations: 19.91 kB / 477.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1495, allocations: 4 kB / 477.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.1496, allocations: 128 kB / 477.8 MB, free: 5.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1496, allocations: 0 / 477.8 MB, free: 5.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.1499, allocations: 36 kB / 477.9 MB, free: 5.754 MB / 350.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 (20): * Single equations (assignments): 20 * 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.0001402/0.15, allocations: 99.78 kB / 478 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005147/0.1505, allocations: 175.8 kB / 478.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1506, allocations: 0 / 478.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.1508, allocations: 94.06 kB / 478.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1512, allocations: 19.98 kB / 478.2 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009171/0.1521, allocations: 473 kB / 478.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.1525, allocations: 0.7249 MB / 479.4 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1526, allocations: 23.42 kB / 479.4 MB, free: 4.098 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1526, allocations: 0 / 479.4 MB, free: 4.098 MB / 350.1 MB Notification: Performance of Templates: time 0.005627/0.1582, allocations: 2.15 MB / 481.6 MB, free: 1.953 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches