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.Nitrogen.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.Nitrogen,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.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,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.Nitrogen") [: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.001619/0.001618, allocations: 177.3 kB / 8.152 MB, free: 2.203 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.709/1.709, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001264/0.001264, allocations: 93.53 kB / 261.8 MB, free: 13.61 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.2665/0.2665, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.031e-05/1.051e-05, allocations: 224 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2898, allocations: 58.84 MB / 476.6 MB, free: 5.109 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.345, allocations: 0.5076 GB / 0.973 GB, free: 40.35 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/1.345, allocations: 95.69 kB / 0.9731 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.9373/2.283, allocations: 217.2 MB / 1.185 GB, free: 32.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.996e-05/2.283, allocations: 16 kB / 1.185 GB, free: 32.01 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003687/2.286, allocations: 1.099 MB / 1.186 GB, free: 30.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/2.286, allocations: 8.031 kB / 1.186 GB, free: 30.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/2.288, allocations: 135 kB / 1.186 GB, free: 30.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/2.29, allocations: 0.5481 MB / 1.187 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/2.29, allocations: 84.41 kB / 1.187 GB, free: 30.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/2.29, allocations: 28 kB / 1.187 GB, free: 30.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001493/2.292, allocations: 0.5371 MB / 1.188 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/2.293, allocations: 0.7483 MB / 1.188 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/2.293, allocations: 3.938 kB / 1.188 GB, free: 28.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/2.293, allocations: 4 kB / 1.188 GB, free: 28.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-05/2.293, allocations: 40.98 kB / 1.188 GB, free: 28.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006762/2.3, allocations: 4.037 MB / 1.192 GB, free: 24.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/2.301, allocations: 206.2 kB / 1.193 GB, free: 24.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/2.301, allocations: 137.3 kB / 1.193 GB, free: 23.99 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-05/2.301, allocations: 20.89 kB / 1.193 GB, free: 23.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/2.301, allocations: 34.8 kB / 1.193 GB, free: 23.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 3.417e-06/2.301, allocations: 0 / 1.193 GB, free: 23.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.00954/2.311, allocations: 1.442 MB / 1.194 GB, free: 22.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/2.311, allocations: 132.5 kB / 1.194 GB, free: 22.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/2.312, allocations: 473.9 kB / 1.195 GB, free: 21.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/2.312, allocations: 25.7 kB / 1.195 GB, free: 21.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/2.312, allocations: 373.4 kB / 1.195 GB, free: 21.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/2.312, allocations: 122.3 kB / 1.195 GB, free: 21.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/2.312, allocations: 0 / 1.195 GB, free: 21.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/2.312, allocations: 334.8 kB / 1.196 GB, free: 20.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/2.313, allocations: 189.5 kB / 1.196 GB, free: 20.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/2.313, allocations: 0.4893 MB / 1.196 GB, free: 20.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/2.314, allocations: 327.6 kB / 1.197 GB, free: 19.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/2.314, allocations: 4 kB / 1.197 GB, free: 19.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00222/2.317, allocations: 0.8062 MB / 1.197 GB, free: 18.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/2.317, allocations: 4 kB / 1.197 GB, free: 18.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/2.317, allocations: 12 kB / 1.197 GB, free: 18.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001987/2.319, allocations: 272.8 kB / 1.198 GB, free: 18.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007883/2.32, allocations: 123.8 kB / 1.198 GB, free: 18.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/2.321, allocations: 0.9619 MB / 1.199 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008388/2.322, allocations: 35.91 kB / 1.199 GB, free: 17.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/2.322, allocations: 64.05 kB / 1.199 GB, free: 17.47 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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.0002089/2.322, allocations: 63.03 kB / 1.199 GB, free: 17.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/2.323, allocations: 63.25 kB / 1.199 GB, free: 17.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/2.325, allocations: 0.5586 MB / 1.199 GB, free: 16.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/2.325, allocations: 4 kB / 1.199 GB, free: 16.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/2.325, allocations: 0 / 1.199 GB, free: 16.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/2.325, allocations: 7.984 kB / 1.199 GB, free: 16.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/2.327, allocations: 0.9963 MB / 1.2 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/2.327, allocations: 3.906 kB / 1.2 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/2.329, allocations: 183.8 kB / 1.201 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001321/2.33, allocations: 24.84 kB / 1.201 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/2.33, allocations: 12 kB / 1.201 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/2.332, allocations: 2.576 MB / 1.203 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/2.332, allocations: 0 / 1.203 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001598/2.333, allocations: 0.7089 MB / 1.204 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/2.334, allocations: 172.3 kB / 1.204 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/2.334, allocations: 4 kB / 1.204 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007636/2.335, allocations: 15.98 kB / 1.204 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/2.335, allocations: 31.89 kB / 1.204 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.831e-05/2.335, allocations: 35.98 kB / 1.204 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0006024/2.336, allocations: 347 kB / 1.204 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001863/2.337, allocations: 355.8 kB / 1.205 GB, free: 10.98 MB / 0.4948 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 (34): * Single equations (assignments): 32 * 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.00283/2.34, allocations: 1.174 MB / 1.206 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001689/2.342, allocations: 484.1 kB / 1.206 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/2.342, allocations: 0 / 1.206 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001891/2.344, allocations: 397.7 kB / 1.207 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/2.346, allocations: 242.2 kB / 1.207 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/2.349, allocations: 0.9165 MB / 1.208 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/2.35, allocations: 1.069 MB / 1.209 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of SimCode: time 1.793e-06/2.35, allocations: 0 / 1.209 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of Templates: time 0.2157/2.566, allocations: 19.87 MB / 1.228 GB, free: 139 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches