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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009873/0.0009873, allocations: 174.8 kB / 8.518 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.174/1.174, allocations: 221.4 MB / 230.3 MB, free: 7.723 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.0009402/0.0009403, allocations: 92.67 kB / 281.2 MB, free: 5.457 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.1591/0.1591, allocations: 44.14 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.69e-06/5.721e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09137, allocations: 61.91 MB / 0.4941 GB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2349/0.3264, allocations: 88.25 MB / 0.5803 GB, free: 8.551 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.3266, allocations: 72.14 kB / 0.5803 GB, free: 8.512 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008164/0.3348, allocations: 2.527 MB / 0.5828 GB, free: 5.988 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.3348, allocations: 4 kB / 0.5828 GB, free: 5.984 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.0005598/0.3354, allocations: 422 kB / 0.5832 GB, free: 5.527 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3354, allocations: 15.97 kB / 0.5832 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.3355, allocations: 27.64 kB / 0.5833 GB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.3357, allocations: 207.4 kB / 0.5835 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.3357, allocations: 4 kB / 0.5835 GB, free: 5.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.3358, allocations: 8 kB / 0.5835 GB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001975/0.336, allocations: 83.98 kB / 0.5835 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.3362, allocations: 137.9 kB / 0.5837 GB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3362, allocations: 7.891 kB / 0.5837 GB, free: 4.984 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.3363, allocations: 0 / 0.5837 GB, free: 4.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3363, allocations: 4 kB / 0.5837 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008343/0.3371, allocations: 0.6583 MB / 0.5843 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.3373, allocations: 85.78 kB / 0.5844 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/0.3374, allocations: 48.86 kB / 0.5845 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.3374, allocations: 4 kB / 0.5845 GB, free: 4.129 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.3374, allocations: 34.56 kB / 0.5845 GB, free: 4.086 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.194e-06/0.3374, allocations: 0 / 0.5845 GB, free: 4.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009024/0.3383, allocations: 301.9 kB / 0.5848 GB, free: 3.789 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.3384, allocations: 55.41 kB / 0.5848 GB, free: 3.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.3385, allocations: 128.3 kB / 0.585 GB, free: 3.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.3385, allocations: 25.7 kB / 0.585 GB, free: 3.559 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.3386, allocations: 112.3 kB / 0.5851 GB, free: 3.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.526e-05/0.3386, allocations: 63.09 kB / 0.5852 GB, free: 3.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.3387, allocations: 0 / 0.5852 GB, free: 3.383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3388, allocations: 326.7 kB / 0.5855 GB, free: 3.055 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.477e-05/0.3389, allocations: 48 kB / 0.5855 GB, free: 3.008 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.339, allocations: 83.23 kB / 0.5856 GB, free: 2.914 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.973e-05/0.3391, allocations: 54.5 kB / 0.5856 GB, free: 2.863 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3391, allocations: 0 / 0.5856 GB, free: 2.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003079/0.3394, allocations: 169.4 kB / 0.5858 GB, free: 2.691 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3394, allocations: 8.094 kB / 0.5858 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3394, allocations: 0 / 0.5858 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.3395, allocations: 4 kB / 0.5858 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.3398, allocations: 59.89 kB / 0.5859 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3398, allocations: 4 kB / 0.5859 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.34, allocations: 15.98 kB / 0.5859 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.34, allocations: 4 kB / 0.5859 GB, free: 2.598 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.602e-05/0.3401, allocations: 108.9 kB / 0.586 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.3402, allocations: 15.81 kB / 0.586 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.3402, allocations: 12.69 kB / 0.586 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3402, allocations: 7.984 kB / 0.586 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3402, allocations: 0 / 0.586 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3402, allocations: 7.844 kB / 0.586 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007728/0.341, allocations: 0.5563 MB / 0.5866 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.341, allocations: 4 kB / 0.5866 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.3413, allocations: 51.95 kB / 0.5866 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3413, allocations: 0 / 0.5866 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3414, allocations: 0 / 0.5866 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3414, allocations: 0 / 0.5866 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3414, allocations: 0 / 0.5866 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002957/0.3417, allocations: 263.2 kB / 0.5869 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.486e-05/0.3418, allocations: 108.9 kB / 0.587 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.3418, allocations: 0 / 0.587 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.3421, allocations: 19.89 kB / 0.587 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.3421, allocations: 11.98 kB / 0.587 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.3421, allocations: 7.984 kB / 0.587 GB, free: 1.355 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.349e-05/0.3422, allocations: 111.1 kB / 0.5871 GB, free: 1.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000262/0.3425, allocations: 32 kB / 0.5872 GB, free: 1.219 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.0001205/0.3426, allocations: 99.17 kB / 0.5873 GB, free: 1.109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.3429, allocations: 127.9 kB / 0.5874 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3429, allocations: 0 / 0.5874 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.343, allocations: 78.84 kB / 0.5875 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.3432, allocations: 12.19 kB / 0.5875 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.3438, allocations: 219.7 kB / 0.5877 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/0.3442, allocations: 0.7553 MB / 0.5884 GB, free: 15.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3442, allocations: 0 / 0.5884 GB, free: 15.88 MB / 410.7 MB Notification: Performance of Templates: time 0.004488/0.3487, allocations: 2.176 MB / 0.5905 GB, free: 13.72 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