Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [: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 3.2.3+maint.om/package.mo): time 0.0009532/0.0009532, allocations: 190 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.039/1.039, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000826/0.000826, allocations: 86.7 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1564/0.1564, allocations: 43.49 MB / 352.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.101e-06/6.121e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2411, allocations: 58.84 MB / 476.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.142/1.384, allocations: 0.8262 GB / 1.292 GB, free: 134 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/1.384, allocations: 87.95 kB / 1.292 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.033/3.417, allocations: 0.7359 GB / 2.028 GB, free: 84.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.348e-05/3.417, allocations: 29.36 kB / 2.028 GB, free: 84.21 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005545/3.423, allocations: 1.374 MB / 2.029 GB, free: 83.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/3.423, allocations: 14.08 kB / 2.029 GB, free: 83.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/3.425, allocations: 283.4 kB / 2.029 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/3.426, allocations: 0.6667 MB / 2.03 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/3.426, allocations: 94.75 kB / 2.03 GB, free: 83.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/3.427, allocations: 43.34 kB / 2.03 GB, free: 83.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001474/3.428, allocations: 0.9008 MB / 2.031 GB, free: 83.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/3.43, allocations: 1.149 MB / 2.032 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/3.43, allocations: 5.656 kB / 2.032 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/3.43, allocations: 3.781 kB / 2.032 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.927e-05/3.43, allocations: 75.59 kB / 2.032 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005792/3.436, allocations: 4.908 MB / 2.037 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/3.436, allocations: 194.3 kB / 2.037 GB, free: 80.37 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/3.436, allocations: 143.5 kB / 2.037 GB, free: 80.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/3.437, allocations: 240.2 kB / 2.037 GB, free: 80.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/3.437, allocations: 42.36 kB / 2.037 GB, free: 80.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.325e-06/3.437, allocations: 0 / 2.037 GB, free: 80.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.005278/3.442, allocations: 1.53 MB / 2.039 GB, free: 79.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/3.442, allocations: 139.5 kB / 2.039 GB, free: 79.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009768/3.443, allocations: 0.6617 MB / 2.04 GB, free: 79.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.3e-05/3.443, allocations: 28.2 kB / 2.04 GB, free: 79.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/3.443, allocations: 0.5027 MB / 2.04 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/3.444, allocations: 127.1 kB / 2.04 GB, free: 78.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/3.444, allocations: 0 / 2.04 GB, free: 78.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001439/3.444, allocations: 386.4 kB / 2.041 GB, free: 78.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/3.444, allocations: 255.6 kB / 2.041 GB, free: 78.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/3.445, allocations: 0.8341 MB / 2.042 GB, free: 77.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/3.445, allocations: 441.7 kB / 2.042 GB, free: 77.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/3.445, allocations: 7.469 kB / 2.042 GB, free: 77.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001511/3.447, allocations: 1.062 MB / 2.043 GB, free: 77.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/3.447, allocations: 3.969 kB / 2.043 GB, free: 77.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/3.447, allocations: 22.56 kB / 2.043 GB, free: 77.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/3.448, allocations: 267.3 kB / 2.044 GB, free: 77.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/3.449, allocations: 207.2 kB / 2.044 GB, free: 77.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008168/3.449, allocations: 0.9274 MB / 2.045 GB, free: 77.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008034/3.45, allocations: 42.41 kB / 2.045 GB, free: 77.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/3.45, allocations: 74.47 kB / 2.045 GB, free: 77.17 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001554/3.45, allocations: 153.9 kB / 2.045 GB, free: 77.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/3.451, allocations: 86.03 kB / 2.045 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007555/3.451, allocations: 454.3 kB / 2.045 GB, free: 76.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/3.451, allocations: 7.719 kB / 2.045 GB, free: 76.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/3.451, allocations: 0 / 2.045 GB, free: 76.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/3.451, allocations: 7.094 kB / 2.045 GB, free: 76.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/3.453, allocations: 1.024 MB / 2.046 GB, free: 76.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/3.453, allocations: 3.844 kB / 2.046 GB, free: 76.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009211/3.454, allocations: 175.7 kB / 2.047 GB, free: 76.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-05/3.454, allocations: 16.2 kB / 2.047 GB, free: 76.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/3.454, allocations: 13.94 kB / 2.047 GB, free: 76.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/3.455, allocations: 2.577 MB / 2.049 GB, free: 74.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/3.455, allocations: 0 / 2.049 GB, free: 74.22 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007182/3.456, allocations: 0.6822 MB / 2.05 GB, free: 74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/3.456, allocations: 191.2 kB / 2.05 GB, free: 73.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/3.456, allocations: 0 / 2.05 GB, free: 73.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/3.457, allocations: 21.83 kB / 2.05 GB, free: 73.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/3.457, allocations: 24.61 kB / 2.05 GB, free: 73.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/3.457, allocations: 25.75 kB / 2.05 GB, free: 73.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.000442/3.457, allocations: 484.5 kB / 2.051 GB, free: 73.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001604/3.459, allocations: 489.3 kB / 2.051 GB, free: 73.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003422/3.462, allocations: 1.668 MB / 2.053 GB, free: 73.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009222/3.463, allocations: 0.6178 MB / 2.053 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/3.463, allocations: 1.656 kB / 2.053 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009747/3.464, allocations: 383.5 kB / 2.054 GB, free: 73.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/3.465, allocations: 303.4 kB / 2.054 GB, free: 73.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/3.467, allocations: 1.149 MB / 2.055 GB, free: 73.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000683/3.468, allocations: 1.136 MB / 2.056 GB, free: 72.38 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/3.468, allocations: 0 / 2.056 GB, free: 72.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.03233/3.5, allocations: 23.29 MB / 2.079 GB, free: 71.84 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches