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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001033/0.001033, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 225.6 MB / 234.8 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007684/0.0007684, allocations: 92.08 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1755/0.1755, allocations: 45.14 MB / 383.7 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.417e-05/1.419e-05, allocations: 0 / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09346/0.09348, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3605/0.454, allocations: 89.39 MB / 0.5917 GB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.4542, allocations: 71.77 kB / 0.5917 GB, free: 13.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008384/0.4626, allocations: 2.928 MB / 0.5946 GB, free: 10.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.4627, allocations: 0 / 0.5946 GB, free: 10.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.4627, allocations: 7.984 kB / 0.5946 GB, free: 10.69 MB / 394.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.0005571/0.4632, allocations: 416.6 kB / 0.595 GB, free: 10.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4633, allocations: 8.031 kB / 0.595 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.4634, allocations: 23.81 kB / 0.595 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.4637, allocations: 213 kB / 0.5952 GB, free: 9.973 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.4637, allocations: 4 kB / 0.5952 GB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.4637, allocations: 8 kB / 0.5952 GB, free: 9.961 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001792/0.4639, allocations: 91.59 kB / 0.5953 GB, free: 9.902 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.4642, allocations: 135.2 kB / 0.5954 GB, free: 9.777 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4642, allocations: 0 / 0.5954 GB, free: 9.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.4642, allocations: 4 kB / 0.5954 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.4642, allocations: 0 / 0.5954 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007833/0.465, allocations: 0.6615 MB / 0.5961 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.4652, allocations: 132.3 kB / 0.5962 GB, free: 9.047 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.582e-05/0.4653, allocations: 46.11 kB / 0.5963 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.4654, allocations: 4 kB / 0.5963 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.4654, allocations: 33.88 kB / 0.5963 GB, free: 8.973 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.4654, allocations: 0 / 0.5963 GB, free: 8.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008056/0.4662, allocations: 297.3 kB / 0.5966 GB, free: 8.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.4663, allocations: 51.41 kB / 0.5966 GB, free: 8.668 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/0.4664, allocations: 130 kB / 0.5968 GB, free: 8.547 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.4664, allocations: 25.7 kB / 0.5968 GB, free: 8.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.4665, allocations: 119.6 kB / 0.5969 GB, free: 8.406 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.4665, allocations: 69.06 kB / 0.597 GB, free: 8.348 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.4665, allocations: 4 kB / 0.597 GB, free: 8.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4666, allocations: 322.3 kB / 0.5973 GB, free: 8.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-05/0.4667, allocations: 42.75 kB / 0.5973 GB, free: 8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.626e-05/0.4668, allocations: 84.47 kB / 0.5974 GB, free: 7.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.633e-05/0.4669, allocations: 51.23 kB / 0.5974 GB, free: 7.898 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4669, allocations: 8.703 kB / 0.5975 GB, free: 7.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002471/0.4672, allocations: 163.8 kB / 0.5976 GB, free: 7.762 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4672, allocations: 7.953 kB / 0.5976 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4672, allocations: 4 kB / 0.5976 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4672, allocations: 0 / 0.5976 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.4675, allocations: 55.89 kB / 0.5977 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4675, allocations: 7.938 kB / 0.5977 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.4677, allocations: 16.08 kB / 0.5977 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.4677, allocations: 11.83 kB / 0.5977 GB, free: 7.664 MB / 394.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 () * 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 8.801e-05/0.4678, allocations: 105 kB / 0.5978 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.4678, allocations: 19.75 kB / 0.5978 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.439e-05/0.4679, allocations: 19.52 kB / 0.5978 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4679, allocations: 4 kB / 0.5978 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4679, allocations: 0 / 0.5978 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4679, allocations: 7.984 kB / 0.5979 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/0.4686, allocations: 0.5541 MB / 0.5984 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4686, allocations: 0 / 0.5984 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.4689, allocations: 51.53 kB / 0.5984 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4689, allocations: 0 / 0.5984 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.4689, allocations: 3.984 kB / 0.5984 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.4689, allocations: 7.938 kB / 0.5985 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4689, allocations: 0 / 0.5985 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.4692, allocations: 255.1 kB / 0.5987 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.391e-05/0.4694, allocations: 96.64 kB / 0.5988 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.4694, allocations: 8 kB / 0.5988 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.4696, allocations: 15.98 kB / 0.5988 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.4697, allocations: 19.59 kB / 0.5988 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.4697, allocations: 7.625 kB / 0.5988 GB, free: 6.555 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.104e-05/0.4698, allocations: 106.7 kB / 0.5989 GB, free: 6.457 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4698, allocations: 0 / 0.5989 GB, free: 6.457 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002593/0.4701, allocations: 32 kB / 0.599 GB, free: 6.426 MB / 394.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 () * 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.0001409/0.4702, allocations: 103.4 kB / 0.5991 GB, free: 6.316 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.4704, allocations: 131.9 kB / 0.5992 GB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4705, allocations: 0 / 0.5992 GB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.4706, allocations: 73.61 kB / 0.5993 GB, free: 6.176 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.4708, allocations: 9.438 kB / 0.5993 GB, free: 6.172 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.4713, allocations: 228.5 kB / 0.5995 GB, free: 5.953 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.4716, allocations: 0.7286 MB / 0.6002 GB, free: 5.199 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.4718, allocations: 25.19 kB / 0.6002 GB, free: 5.176 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.4719, allocations: 15.44 kB / 0.6002 GB, free: 5.16 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4719, allocations: 0 / 0.6002 GB, free: 5.16 MB / 394.7 MB Notification: Performance of Templates: time 0.003875/0.4757, allocations: 1.698 MB / 0.6019 GB, free: 3.48 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches