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.0009818/0.0009875, allocations: 94.47 kB / 17.35 MB, free: 6.344 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.001627/0.001627, allocations: 171.2 kB / 18.25 MB, free: 5.504 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.448/1.448, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2086/0.2086, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004706, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1363, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002597/0.139, allocations: 1.769 MB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009064/0.1399, allocations: 0.5222 MB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.14, allocations: 3.938 kB / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.1401, allocations: 15.91 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.1403, allocations: 39.7 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.1406, allocations: 63.91 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.1409, allocations: 191 kB / 474.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.141, allocations: 41.53 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.1412, allocations: 71.7 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.1413, allocations: 79.67 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.1414, allocations: 8 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.618e-05/0.1414, allocations: 8 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.1414, allocations: 27.89 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.825e-05/0.1415, allocations: 97.3 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.1417, allocations: 171.6 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1417, allocations: 0 / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1418, allocations: 0 / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1418, allocations: 4 kB / 475.3 MB, free: 10.21 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.0007532/0.1425, allocations: 430.9 kB / 475.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1426, allocations: 16.03 kB / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.1426, allocations: 20.73 kB / 475.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1429, allocations: 208.6 kB / 476 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1429, allocations: 8.375 kB / 476 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.1429, allocations: 20.06 kB / 476 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.1433, allocations: 165.6 kB / 476.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1433, allocations: 7.938 kB / 476.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.1434, allocations: 4 kB / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1434, allocations: 4 kB / 476.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.1437, allocations: 116.6 kB / 476.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009297/0.1446, allocations: 0.6976 MB / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.1451, allocations: 158.5 kB / 477.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.1452, allocations: 68.2 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.1453, allocations: 3.938 kB / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1453, allocations: 34.56 kB / 477.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.795e-06/0.1453, allocations: 4 kB / 477.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001408/0.1467, allocations: 446.9 kB / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.1468, allocations: 51.41 kB / 477.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.1469, allocations: 154.2 kB / 477.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.147, allocations: 33.7 kB / 478 MB, free: 7.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.147, allocations: 116.3 kB / 478.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.1471, allocations: 67.02 kB / 478.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.1471, allocations: 25.7 kB / 478.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1473, allocations: 326.8 kB / 478.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.1475, allocations: 75.89 kB / 478.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.1477, allocations: 111.3 kB / 478.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.1481, allocations: 187.3 kB / 478.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1481, allocations: 0 / 478.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005096/0.1486, allocations: 244.2 kB / 479.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1487, allocations: 11.98 kB / 479.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1487, allocations: 0 / 479.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1487, allocations: 8.094 kB / 479.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.149, allocations: 47.97 kB / 479.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.149, allocations: 0 / 479.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1492, allocations: 19.98 kB / 479.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.1492, allocations: 7.938 kB / 479.2 MB, free: 6.113 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.0001122/0.1493, allocations: 137.7 kB / 479.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.1494, allocations: 15.91 kB / 479.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.1494, allocations: 25.17 kB / 479.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1495, allocations: 0 / 479.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1495, allocations: 0 / 479.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1495, allocations: 0 / 479.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.1505, allocations: 0.6513 MB / 480 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1505, allocations: 0 / 480 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.1508, allocations: 51.97 kB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.1508, allocations: 7.938 kB / 480.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1508, allocations: 0 / 480.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.1508, allocations: 4 kB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1508, allocations: 0 / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005189/0.1514, allocations: 329.9 kB / 480.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.1515, allocations: 96.91 kB / 480.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.1515, allocations: 11.94 kB / 480.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.1517, allocations: 19.98 kB / 480.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.1518, allocations: 15.97 kB / 480.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.1518, allocations: 8 kB / 480.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.452e-05/0.1519, allocations: 120 kB / 480.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1519, allocations: 0 / 480.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1522, allocations: 44 kB / 480.7 MB, free: 4.488 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.0001139/0.1523, allocations: 91.78 kB / 480.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004871/0.1528, allocations: 195.8 kB / 481 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.1528, allocations: 0 / 481 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.153, allocations: 100.1 kB / 481.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.1534, allocations: 22.44 kB / 481.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007799/0.1542, allocations: 485.4 kB / 481.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1545, allocations: 0.7171 MB / 482.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.1547, allocations: 29.41 kB / 482.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.567e-05/0.1547, allocations: 23.42 kB / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1547, allocations: 0 / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of Templates: time 0.004623/0.1594, allocations: 1.838 MB / 484.2 MB, free: 0.9609 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins/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