Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.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.001282/0.001282, allocations: 179 kB / 8.478 MB, free: 1.855 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.506/1.506, allocations: 205.2 MB / 214.1 MB, free: 5.152 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 90.25 kB / 262.1 MB, free: 5.195 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.107e-06/9.137e-06, allocations: 0 / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 47.58 MB / 362.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.679/1.781, allocations: 0.7117 GB / 1.066 GB, free: 123.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.781, allocations: 98.48 kB / 1.066 GB, free: 123.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.658/3.439, allocations: 0.5687 GB / 1.635 GB, free: 74.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.392e-05/3.439, allocations: 8.812 kB / 1.635 GB, free: 74.03 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001951/3.441, allocations: 0.7798 MB / 1.635 GB, free: 73.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/3.441, allocations: 8.25 kB / 1.635 GB, free: 73.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007198/3.442, allocations: 122 kB / 1.635 GB, free: 73.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006464/3.442, allocations: 371.9 kB / 1.636 GB, free: 73.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/3.442, allocations: 12.38 kB / 1.636 GB, free: 73.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.554e-05/3.442, allocations: 21.84 kB / 1.636 GB, free: 73.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006785/3.443, allocations: 400 kB / 1.636 GB, free: 73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008145/3.444, allocations: 490.5 kB / 1.637 GB, free: 72.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/3.444, allocations: 0 / 1.637 GB, free: 72.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/3.444, allocations: 2.406 kB / 1.637 GB, free: 72.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.851e-05/3.444, allocations: 14.09 kB / 1.637 GB, free: 72.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/3.447, allocations: 1.998 MB / 1.639 GB, free: 71.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/3.447, allocations: 106.4 kB / 1.639 GB, free: 71.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/3.447, allocations: 78.16 kB / 1.639 GB, free: 71.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/3.448, allocations: 5.234 kB / 1.639 GB, free: 71.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/3.448, allocations: 37.03 kB / 1.639 GB, free: 71.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/3.448, allocations: 0 / 1.639 GB, free: 71.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.004656/3.452, allocations: 1.128 MB / 1.64 GB, free: 70.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/3.452, allocations: 53.72 kB / 1.64 GB, free: 70.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/3.453, allocations: 389.5 kB / 1.64 GB, free: 70.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/3.453, allocations: 25.7 kB / 1.64 GB, free: 70.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/3.453, allocations: 295.7 kB / 1.641 GB, free: 69.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.254e-05/3.453, allocations: 92.14 kB / 1.641 GB, free: 69.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.838e-05/3.453, allocations: 0.9844 kB / 1.641 GB, free: 69.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/3.453, allocations: 352 kB / 1.641 GB, free: 69.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/3.453, allocations: 117.7 kB / 1.641 GB, free: 69.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/3.454, allocations: 424.3 kB / 1.642 GB, free: 69.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/3.454, allocations: 219.5 kB / 1.642 GB, free: 68.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/3.454, allocations: 3.656 kB / 1.642 GB, free: 68.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008341/3.455, allocations: 0.5423 MB / 1.642 GB, free: 68.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/3.455, allocations: 2.781 kB / 1.642 GB, free: 68.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/3.455, allocations: 16.62 kB / 1.642 GB, free: 68.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/3.455, allocations: 62.02 kB / 1.642 GB, free: 68.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/3.456, allocations: 144.1 kB / 1.643 GB, free: 68.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/3.457, allocations: 1.791 MB / 1.644 GB, free: 66.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/3.457, allocations: 21 kB / 1.644 GB, free: 66.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/3.457, allocations: 40.52 kB / 1.644 GB, free: 66.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001101/3.457, allocations: 131.8 kB / 1.645 GB, free: 66.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/3.457, allocations: 47.95 kB / 1.645 GB, free: 66.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/3.458, allocations: 265.2 kB / 1.645 GB, free: 66.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/3.458, allocations: 4 kB / 1.645 GB, free: 66.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/3.458, allocations: 0 / 1.645 GB, free: 66.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003633/3.458, allocations: 0.5098 MB / 1.645 GB, free: 65.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008319/3.459, allocations: 0.6369 MB / 1.646 GB, free: 65.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/3.459, allocations: 4 kB / 1.646 GB, free: 65.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/3.459, allocations: 53.5 kB / 1.646 GB, free: 65.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.114e-05/3.459, allocations: 21.69 kB / 1.646 GB, free: 64.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/3.459, allocations: 4 kB / 1.646 GB, free: 64.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005649/3.46, allocations: 1.22 MB / 1.647 GB, free: 63.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/3.46, allocations: 0 / 1.647 GB, free: 63.68 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004331/3.46, allocations: 403.1 kB / 1.648 GB, free: 63.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.627e-05/3.461, allocations: 117.7 kB / 1.648 GB, free: 63.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/3.461, allocations: 0 / 1.648 GB, free: 63.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/3.461, allocations: 14.06 kB / 1.648 GB, free: 63.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/3.461, allocations: 15.7 kB / 1.648 GB, free: 63.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/3.461, allocations: 14.84 kB / 1.648 GB, free: 63.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002313/3.461, allocations: 290.1 kB / 1.648 GB, free: 62.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001093/3.462, allocations: 254.8 kB / 1.648 GB, free: 62.63 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002671/3.465, allocations: 1.355 MB / 1.65 GB, free: 61.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006005/3.466, allocations: 416.4 kB / 1.65 GB, free: 61.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/3.466, allocations: 2.594 kB / 1.65 GB, free: 61.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/3.466, allocations: 193.6 kB / 1.65 GB, free: 61.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/3.467, allocations: 171.3 kB / 1.65 GB, free: 60.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/3.468, allocations: 0.6021 MB / 1.651 GB, free: 60.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/3.468, allocations: 0.885 MB / 1.652 GB, free: 59.48 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/3.468, allocations: 0 / 1.652 GB, free: 59.48 MB / 426.7 MB Notification: Performance of Templates: time 0.0215/3.49, allocations: 15.34 MB / 1.667 GB, free: 44.62 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches