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.0009743/0.0009743, allocations: 95.95 kB / 16.99 MB, free: 5.941 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.001079/0.001079, allocations: 180 kB / 17.88 MB, free: 5.609 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.432/1.432, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.2089/0.2089, allocations: 44.23 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.0005038, allocations: 8 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1423, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002384/0.1447, allocations: 1.676 MB / 473.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008875/0.1457, allocations: 0.5031 MB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1458, allocations: 4 kB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.1458, allocations: 11.86 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.146, allocations: 47.83 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.1464, allocations: 55.92 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.1466, allocations: 127.6 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.1468, allocations: 29.55 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.1469, allocations: 75.77 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.1471, allocations: 75.67 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.1471, allocations: 8 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.959e-05/0.1472, allocations: 8 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.1472, allocations: 27.89 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.458e-05/0.1473, allocations: 49.64 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1475, allocations: 135.9 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1475, allocations: 3.938 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1475, allocations: 4 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.1475, allocations: 0 / 474.3 MB, free: 10.88 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.0007823/0.1483, allocations: 430.8 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.1484, allocations: 8.031 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.1484, allocations: 15.81 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1487, allocations: 211.3 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1487, allocations: 8 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.1487, allocations: 19.95 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.1491, allocations: 169.6 kB / 475.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1491, allocations: 4 kB / 475.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.1491, allocations: 4 kB / 475.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1491, allocations: 8 kB / 475.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.1494, allocations: 120.6 kB / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000841/0.1503, allocations: 0.7054 MB / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.1507, allocations: 154.5 kB / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.1507, allocations: 4 kB / 476.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1508, allocations: 42.45 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1508, allocations: 0 / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001357/0.1521, allocations: 436.2 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1522, allocations: 59.36 kB / 476.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1523, allocations: 150.2 kB / 476.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.1524, allocations: 33.7 kB / 476.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.1524, allocations: 112.4 kB / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.1525, allocations: 67 kB / 477 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.1525, allocations: 4 kB / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1527, allocations: 326.8 kB / 477.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.1529, allocations: 71.95 kB / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.1531, allocations: 107.3 kB / 477.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.1533, allocations: 82.2 kB / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1533, allocations: 0 / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004705/0.1538, allocations: 241.2 kB / 477.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.1538, allocations: 8 kB / 477.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1538, allocations: 0 / 477.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1538, allocations: 0 / 477.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.1541, allocations: 67.94 kB / 477.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1541, allocations: 0 / 477.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.1543, allocations: 19.98 kB / 477.9 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.1543, allocations: 4 kB / 477.9 MB, free: 6.996 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.1545, allocations: 130.3 kB / 478 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.1545, allocations: 15.81 kB / 478.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.1546, allocations: 21.17 kB / 478.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1546, allocations: 8 kB / 478.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1546, allocations: 3.953 kB / 478.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1546, allocations: 3.938 kB / 478.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009456/0.1555, allocations: 0.6423 MB / 478.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1556, allocations: 7.938 kB / 478.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.1558, allocations: 55.91 kB / 478.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1558, allocations: 4 kB / 478.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1558, allocations: 0 / 478.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1559, allocations: 0 / 478.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1559, allocations: 0 / 478.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.1564, allocations: 319.2 kB / 479.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.769e-05/0.1565, allocations: 104.9 kB / 479.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.1565, allocations: 7.953 kB / 479.2 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1567, allocations: 15.98 kB / 479.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.1568, allocations: 15.97 kB / 479.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1568, allocations: 12 kB / 479.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.044e-05/0.1569, allocations: 124 kB / 479.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1569, allocations: 3.938 kB / 479.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.1572, allocations: 40 kB / 479.4 MB, free: 5.375 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001229/0.1573, allocations: 95.25 kB / 479.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000462/0.1578, allocations: 183.8 kB / 479.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1578, allocations: 4 kB / 479.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.158, allocations: 102.5 kB / 479.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.1583, allocations: 16 kB / 479.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007531/0.159, allocations: 469.4 kB / 480.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.1593, allocations: 0.7249 MB / 481 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001889/0.1595, allocations: 33.41 kB / 481 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.1596, allocations: 19.42 kB / 481.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1596, allocations: 0 / 481.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of Templates: time 0.005333/0.1649, allocations: 1.765 MB / 482.8 MB, free: 1.934 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches