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.001087/0.001087, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 221.5 MB / 230.7 MB, free: 7.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 96.22 kB / 281.6 MB, free: 5.254 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.1951/0.1951, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.405e-05/2.425e-05, allocations: 4.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1394, allocations: 61.91 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.5153, allocations: 88.33 MB / 0.5809 GB, free: 8.164 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.5155, allocations: 71.95 kB / 0.581 GB, free: 8.094 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008418/0.524, allocations: 2.823 MB / 0.5838 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.524, allocations: 0 / 0.5838 GB, free: 5.273 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.524, allocations: 4 kB / 0.5838 GB, free: 5.27 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.0005992/0.5246, allocations: 422.1 kB / 0.5842 GB, free: 4.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.5247, allocations: 15.97 kB / 0.5842 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.5247, allocations: 19.81 kB / 0.5842 GB, free: 4.777 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.525, allocations: 199.4 kB / 0.5844 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.525, allocations: 4.812 kB / 0.5844 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.5251, allocations: 11.95 kB / 0.5844 GB, free: 4.523 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001879/0.5252, allocations: 84.48 kB / 0.5845 GB, free: 4.441 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.5255, allocations: 145.9 kB / 0.5846 GB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.5255, allocations: 3.938 kB / 0.5846 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.5255, allocations: 0 / 0.5846 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.5255, allocations: 4 kB / 0.5846 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.5264, allocations: 0.6508 MB / 0.5853 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.5266, allocations: 122.6 kB / 0.5854 GB, free: 3.441 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.238e-05/0.5267, allocations: 48.86 kB / 0.5854 GB, free: 3.391 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.5268, allocations: 8 kB / 0.5854 GB, free: 3.383 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.5268, allocations: 37.45 kB / 0.5855 GB, free: 3.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.133e-06/0.5268, allocations: 0 / 0.5855 GB, free: 3.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.000855/0.5277, allocations: 299.3 kB / 0.5858 GB, free: 3.043 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.5277, allocations: 59.36 kB / 0.5858 GB, free: 2.973 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.5278, allocations: 126.8 kB / 0.5859 GB, free: 2.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.5279, allocations: 25.7 kB / 0.586 GB, free: 2.809 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.528, allocations: 120.3 kB / 0.5861 GB, free: 2.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.528, allocations: 63.02 kB / 0.5861 GB, free: 2.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.528, allocations: 0 / 0.5861 GB, free: 2.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5282, allocations: 326.8 kB / 0.5864 GB, free: 2.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.569e-05/0.5283, allocations: 40 kB / 0.5865 GB, free: 2.258 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.5284, allocations: 90.73 kB / 0.5866 GB, free: 2.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.287e-05/0.5285, allocations: 54.78 kB / 0.5866 GB, free: 2.109 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5285, allocations: 0 / 0.5866 GB, free: 2.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002574/0.5287, allocations: 161.5 kB / 0.5868 GB, free: 1.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.5288, allocations: 11.94 kB / 0.5868 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5288, allocations: 0 / 0.5868 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.5288, allocations: 4.094 kB / 0.5868 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.5291, allocations: 55.95 kB / 0.5868 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.5291, allocations: 0 / 0.5868 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.5292, allocations: 19.88 kB / 0.5869 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.5293, allocations: 12 kB / 0.5869 GB, free: 1.844 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 9.204e-05/0.5294, allocations: 112.9 kB / 0.587 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.5294, allocations: 15.81 kB / 0.587 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.5295, allocations: 20.73 kB / 0.587 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.5295, allocations: 0 / 0.587 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5295, allocations: 0 / 0.587 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5295, allocations: 3.828 kB / 0.587 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007199/0.5302, allocations: 0.5558 MB / 0.5876 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.5302, allocations: 0 / 0.5876 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.5305, allocations: 51.89 kB / 0.5876 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5305, allocations: 4 kB / 0.5876 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.5305, allocations: 3.953 kB / 0.5876 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5305, allocations: 0 / 0.5876 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5305, allocations: 0 / 0.5876 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.5309, allocations: 263.7 kB / 0.5879 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.531, allocations: 105 kB / 0.588 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.531, allocations: 3.984 kB / 0.588 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.5312, allocations: 11.98 kB / 0.588 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.5313, allocations: 15.94 kB / 0.588 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.5313, allocations: 15.98 kB / 0.588 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.691e-05/0.5314, allocations: 99.28 kB / 0.5881 GB, free: 500 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5314, allocations: 0 / 0.5881 GB, free: 500 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.000253/0.5316, allocations: 32 kB / 0.5881 GB, free: 468 kB / 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.0001211/0.5317, allocations: 95.23 kB / 0.5882 GB, free: 364 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.532, allocations: 124.8 kB / 0.5884 GB, free: 240 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.532, allocations: 0 / 0.5884 GB, free: 240 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.5321, allocations: 75.92 kB / 0.5884 GB, free: 164 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.5324, allocations: 16.14 kB / 0.5884 GB, free: 148 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.5329, allocations: 222 kB / 0.5887 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.5332, allocations: 0.7247 MB / 0.5894 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.5334, allocations: 25.2 kB / 0.5894 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.5335, allocations: 15.44 kB / 0.5894 GB, free: 15.11 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5335, allocations: 7.938 kB / 0.5894 GB, free: 15.11 MB / 410.7 MB Notification: Performance of Templates: time 0.004015/0.5375, allocations: 1.694 MB / 0.5911 GB, free: 13.43 MB / 410.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