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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009278/0.0009277, allocations: 178.2 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008551/0.0008552, allocations: 89.48 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2929/0.2929, allocations: 44.21 MB / 387.5 MB, free: 39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000309/0.0003089, allocations: 8 kB / 459.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3346, allocations: 61.9 MB / 0.5096 GB, free: 38.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.4415, allocations: 89.07 MB / 0.5965 GB, free: 6.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4418, allocations: 75.91 kB / 0.5966 GB, free: 6.016 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008826/0.4506, allocations: 2.844 MB / 0.5994 GB, free: 3.168 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4507, allocations: 4 kB / 0.5994 GB, free: 3.164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.4507, allocations: 4 kB / 0.5994 GB, free: 3.16 MB / 410.7 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.000643/0.4513, allocations: 446.6 kB / 0.5998 GB, free: 2.676 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.4514, allocations: 8.031 kB / 0.5998 GB, free: 2.668 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.4515, allocations: 19.81 kB / 0.5998 GB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.4517, allocations: 205.8 kB / 0.6 GB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.4517, allocations: 11.94 kB / 0.6001 GB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.4518, allocations: 15.95 kB / 0.6001 GB, free: 2.379 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.4521, allocations: 162.9 kB / 0.6002 GB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4521, allocations: 0 / 0.6002 GB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.4522, allocations: 4 kB / 0.6002 GB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4522, allocations: 8 kB / 0.6002 GB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.4525, allocations: 116.6 kB / 0.6003 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009136/0.4534, allocations: 0.6922 MB / 0.601 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.4538, allocations: 158.5 kB / 0.6012 GB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.4538, allocations: 0 / 0.6012 GB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.4539, allocations: 42.52 kB / 0.6012 GB, free: 1.105 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.4539, allocations: 0 / 0.6012 GB, free: 1.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001373/0.4553, allocations: 448.7 kB / 0.6016 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.4553, allocations: 55.36 kB / 0.6017 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.4554, allocations: 135.4 kB / 0.6018 GB, free: 472 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.4555, allocations: 29.7 kB / 0.6019 GB, free: 436 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.4556, allocations: 124.3 kB / 0.602 GB, free: 308 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.194e-05/0.4556, allocations: 63.09 kB / 0.602 GB, free: 244 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.4556, allocations: 4 kB / 0.602 GB, free: 240 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.4558, allocations: 330.8 kB / 0.6024 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.456, allocations: 71.95 kB / 0.6024 GB, free: 15.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.4562, allocations: 103.4 kB / 0.6025 GB, free: 15.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.4564, allocations: 82.38 kB / 0.6026 GB, free: 15.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4564, allocations: 0 / 0.6026 GB, free: 15.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005142/0.457, allocations: 233.3 kB / 0.6028 GB, free: 15.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.457, allocations: 5.406 kB / 0.6028 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.457, allocations: 4 kB / 0.6028 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.457, allocations: 4.031 kB / 0.6028 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.4573, allocations: 63.89 kB / 0.6029 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.4573, allocations: 7.953 kB / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.4575, allocations: 11.98 kB / 0.6029 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.4575, allocations: 8 kB / 0.6029 GB, free: 15.3 MB / 426.7 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.0001236/0.4577, allocations: 130.3 kB / 0.603 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.4577, allocations: 19.81 kB / 0.6031 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/0.4578, allocations: 25.17 kB / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4578, allocations: 4 kB / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4578, allocations: 0 / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.4578, allocations: 3.953 kB / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.4588, allocations: 0.6422 MB / 0.6037 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4589, allocations: 0 / 0.6037 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.4591, allocations: 59.84 kB / 0.6038 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4591, allocations: 0 / 0.6038 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.4592, allocations: 4 kB / 0.6038 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4592, allocations: 4 kB / 0.6038 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4592, allocations: 0 / 0.6038 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.4597, allocations: 313.5 kB / 0.6041 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.4598, allocations: 108.9 kB / 0.6042 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.4598, allocations: 7.953 kB / 0.6042 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.46, allocations: 19.98 kB / 0.6042 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.4601, allocations: 15.98 kB / 0.6042 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.4601, allocations: 7.984 kB / 0.6042 GB, free: 13.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.935e-05/0.4602, allocations: 117 kB / 0.6044 GB, free: 13.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4602, allocations: 0 / 0.6044 GB, free: 13.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000274/0.4605, allocations: 36 kB / 0.6044 GB, free: 13.71 MB / 426.7 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.0001282/0.4606, allocations: 99.25 kB / 0.6045 GB, free: 13.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004706/0.4611, allocations: 186.2 kB / 0.6047 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4611, allocations: 3.938 kB / 0.6047 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.4613, allocations: 104.1 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.4616, allocations: 19.92 kB / 0.6048 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008183/0.4625, allocations: 477.4 kB / 0.6052 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.4628, allocations: 0.721 MB / 0.6059 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002028/0.463, allocations: 29.41 kB / 0.606 GB, free: 12.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/0.4631, allocations: 19.42 kB / 0.606 GB, free: 12 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4631, allocations: 4 kB / 0.606 GB, free: 12 MB / 426.7 MB Notification: Performance of Templates: time 0.004205/0.4673, allocations: 1.78 MB / 0.6077 GB, free: 10.23 MB / 426.7 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