Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00244/0.00244, allocations: 172.5 kB / 8.147 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00127/0.00127, allocations: 84.36 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2624/0.2624, allocations: 43.49 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.115e-06/8.556e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2856, allocations: 58.84 MB / 476.6 MB, free: 5.105 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.768/2.054, allocations: 0.8262 GB / 1.292 GB, free: 94.97 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/2.054, allocations: 90.2 kB / 1.292 GB, free: 94.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.328/5.382, allocations: 0.7359 GB / 2.028 GB, free: 77.72 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.277e-05/5.382, allocations: 26.8 kB / 2.028 GB, free: 77.72 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.005616/5.388, allocations: 1.371 MB / 2.029 GB, free: 77.08 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/5.388, allocations: 7.719 kB / 2.029 GB, free: 77.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/5.39, allocations: 285.5 kB / 2.029 GB, free: 77.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/5.393, allocations: 0.6685 MB / 2.03 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/5.393, allocations: 102.8 kB / 2.03 GB, free: 76.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003134/5.393, allocations: 40.75 kB / 2.03 GB, free: 76.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002635/5.396, allocations: 0.9015 MB / 2.031 GB, free: 76.72 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/5.399, allocations: 1.157 MB / 2.032 GB, free: 76.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.881e-05/5.399, allocations: 3.75 kB / 2.032 GB, free: 76.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/5.399, allocations: 3.938 kB / 2.032 GB, free: 76.49 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.546e-05/5.4, allocations: 67.41 kB / 2.032 GB, free: 76.49 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/5.41, allocations: 4.905 MB / 2.037 GB, free: 73.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005761/5.411, allocations: 210.6 kB / 2.037 GB, free: 73.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/5.411, allocations: 133.5 kB / 2.037 GB, free: 73.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003586/5.412, allocations: 238.8 kB / 2.037 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/5.412, allocations: 39.08 kB / 2.037 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.936e-06/5.412, allocations: 2.344 kB / 2.037 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.01014/5.422, allocations: 1.545 MB / 2.039 GB, free: 72.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/5.422, allocations: 132.3 kB / 2.039 GB, free: 72.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/5.423, allocations: 0.6654 MB / 2.04 GB, free: 72.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/5.423, allocations: 25.7 kB / 2.04 GB, free: 72.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/5.424, allocations: 0.5311 MB / 2.04 GB, free: 72.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/5.424, allocations: 127.9 kB / 2.04 GB, free: 72.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/5.424, allocations: 0 / 2.04 GB, free: 72.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001028/5.424, allocations: 357.8 kB / 2.041 GB, free: 71.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006199/5.425, allocations: 250 kB / 2.041 GB, free: 71.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009339/5.426, allocations: 0.8346 MB / 2.042 GB, free: 71.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/5.427, allocations: 440.7 kB / 2.042 GB, free: 71.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/5.427, allocations: 3.812 kB / 2.042 GB, free: 71.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002737/5.43, allocations: 1.035 MB / 2.043 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/5.43, allocations: 6.781 kB / 2.043 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/5.43, allocations: 26.02 kB / 2.043 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/5.432, allocations: 260.7 kB / 2.044 GB, free: 70.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/5.433, allocations: 200.5 kB / 2.044 GB, free: 70.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/5.435, allocations: 0.9318 MB / 2.045 GB, free: 70.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/5.436, allocations: 37.69 kB / 2.045 GB, free: 70.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/5.436, allocations: 71.53 kB / 2.045 GB, free: 70.44 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.0002501/5.436, allocations: 71.97 kB / 2.045 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/5.437, allocations: 82.91 kB / 2.045 GB, free: 70.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/5.438, allocations: 458.9 kB / 2.045 GB, free: 70.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/5.438, allocations: 3.406 kB / 2.045 GB, free: 70.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/5.438, allocations: 3.172 kB / 2.045 GB, free: 70.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/5.438, allocations: 3.281 kB / 2.045 GB, free: 70.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/5.441, allocations: 1.033 MB / 2.046 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/5.441, allocations: 0 / 2.046 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/5.443, allocations: 169.5 kB / 2.046 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001419/5.443, allocations: 25.91 kB / 2.047 GB, free: 70.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/5.443, allocations: 9.203 kB / 2.047 GB, free: 70.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/5.445, allocations: 2.566 MB / 2.049 GB, free: 67.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/5.445, allocations: 3.906 kB / 2.049 GB, free: 67.56 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001605/5.447, allocations: 0.6817 MB / 2.05 GB, free: 67.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/5.447, allocations: 191.6 kB / 2.05 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/5.448, allocations: 6.453 kB / 2.05 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009121/5.449, allocations: 18.89 kB / 2.05 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.796e-05/5.449, allocations: 24.53 kB / 2.05 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/5.449, allocations: 20.17 kB / 2.05 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0009238/5.45, allocations: 489.4 kB / 2.05 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002717/5.452, allocations: 496.3 kB / 2.051 GB, free: 67.07 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.005751/5.458, allocations: 1.661 MB / 2.053 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002016/5.46, allocations: 0.623 MB / 2.053 GB, free: 66.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/5.46, allocations: 2.906 kB / 2.053 GB, free: 66.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/5.462, allocations: 379.4 kB / 2.053 GB, free: 66.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/5.465, allocations: 304.6 kB / 2.054 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/5.469, allocations: 1.207 MB / 2.055 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/5.47, allocations: 1.13 MB / 2.056 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of SimCode: time 1.432e-06/5.47, allocations: 0 / 2.056 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of Templates: time 0.0486/5.519, allocations: 26.08 MB / 2.082 GB, free: 64.86 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches