Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") [: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.001125/0.001125, allocations: 176.1 kB / 8.476 MB, free: 1.879 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.55/1.55, allocations: 205.2 MB / 214.1 MB, free: 5.496 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.0009617/0.0009617, allocations: 91.31 kB / 262.1 MB, free: 5.559 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.715e-06/7.745e-06, allocations: 0 / 315 MB, free: 41.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 47.58 MB / 362.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.559/1.668, allocations: 0.6377 GB / 0.9917 GB, free: 87.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.668, allocations: 74.84 kB / 0.9918 GB, free: 87.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.5386/2.207, allocations: 147.3 MB / 1.136 GB, free: 105.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.215e-05/2.207, allocations: 10.66 kB / 1.136 GB, free: 105.6 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002037/2.209, allocations: 0.6648 MB / 1.136 GB, free: 105.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/2.209, allocations: 7.844 kB / 1.136 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009237/2.21, allocations: 79.03 kB / 1.136 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007325/2.211, allocations: 330 kB / 1.137 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/2.211, allocations: 12.47 kB / 1.137 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/2.211, allocations: 26.69 kB / 1.137 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006608/2.212, allocations: 255.4 kB / 1.137 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007985/2.212, allocations: 398.3 kB / 1.137 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/2.212, allocations: 1.969 kB / 1.137 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/2.213, allocations: 2.406 kB / 1.137 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/2.213, allocations: 10.16 kB / 1.137 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01558/2.228, allocations: 6.297 MB / 1.144 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/2.229, allocations: 169.9 kB / 1.144 GB, free: 99.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/2.229, allocations: 136.4 kB / 1.144 GB, free: 99.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009613/2.238, allocations: 3.525 MB / 1.147 GB, free: 97.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/2.239, allocations: 43.14 kB / 1.147 GB, free: 97.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 4.668e-06/2.239, allocations: 0 / 1.147 GB, free: 97.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.0052/2.244, allocations: 1.414 MB / 1.149 GB, free: 96.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/2.244, allocations: 55.44 kB / 1.149 GB, free: 96.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/2.244, allocations: 228.9 kB / 1.149 GB, free: 96.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/2.244, allocations: 26.7 kB / 1.149 GB, free: 96.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/2.244, allocations: 198.6 kB / 1.149 GB, free: 96.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/2.245, allocations: 162.4 kB / 1.149 GB, free: 95.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/2.245, allocations: 0 / 1.149 GB, free: 95.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/2.245, allocations: 346.1 kB / 1.15 GB, free: 95.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/2.245, allocations: 131.3 kB / 1.15 GB, free: 95.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/2.245, allocations: 259.8 kB / 1.15 GB, free: 95.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009512/2.246, allocations: 257.2 kB / 1.15 GB, free: 95.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/2.246, allocations: 7.172 kB / 1.15 GB, free: 95.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001724/2.248, allocations: 0.6048 MB / 1.151 GB, free: 94.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/2.248, allocations: 8.812 kB / 1.151 GB, free: 94.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/2.248, allocations: 2.875 kB / 1.151 GB, free: 94.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004507/2.249, allocations: 105.1 kB / 1.151 GB, free: 94.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/2.249, allocations: 112.3 kB / 1.151 GB, free: 94.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/2.251, allocations: 2.482 MB / 1.154 GB, free: 92.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/2.252, allocations: 26.94 kB / 1.154 GB, free: 92.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/2.252, allocations: 20.44 kB / 1.154 GB, free: 92.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001512/2.252, allocations: 117.2 kB / 1.154 GB, free: 92.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/2.252, allocations: 33.16 kB / 1.154 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/2.254, allocations: 0.8416 MB / 1.155 GB, free: 91.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/2.254, allocations: 17.38 kB / 1.155 GB, free: 91.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/2.254, allocations: 0 / 1.155 GB, free: 91.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00136/2.255, allocations: 0.9372 MB / 1.155 GB, free: 90.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/2.258, allocations: 1.405 MB / 1.157 GB, free: 89.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/2.258, allocations: 0 / 1.157 GB, free: 89.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/2.258, allocations: 79.89 kB / 1.157 GB, free: 89.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004809/2.258, allocations: 181.4 kB / 1.157 GB, free: 89.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/2.259, allocations: 15.89 kB / 1.157 GB, free: 89.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/2.26, allocations: 1.374 MB / 1.158 GB, free: 87.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/2.26, allocations: 1.641 kB / 1.158 GB, free: 87.82 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001702/2.261, allocations: 1.207 MB / 1.16 GB, free: 86.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/2.262, allocations: 112.6 kB / 1.16 GB, free: 86.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-05/2.262, allocations: 0 / 1.16 GB, free: 86.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/2.262, allocations: 27.83 kB / 1.16 GB, free: 86.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/2.262, allocations: 19.97 kB / 1.16 GB, free: 86.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/2.262, allocations: 19.98 kB / 1.16 GB, free: 86.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001706/2.262, allocations: 181.2 kB / 1.16 GB, free: 86.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001232/2.263, allocations: 219.9 kB / 1.16 GB, free: 86 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00183/2.265, allocations: 0.525 MB / 1.161 GB, free: 85.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001133/2.266, allocations: 0.6389 MB / 1.161 GB, free: 84.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/2.266, allocations: 192 / 1.161 GB, free: 84.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005923/2.267, allocations: 392.3 kB / 1.162 GB, free: 84.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/2.268, allocations: 181.3 kB / 1.162 GB, free: 84.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/2.27, allocations: 0.9368 MB / 1.163 GB, free: 83.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006138/2.271, allocations: 0.8865 MB / 1.164 GB, free: 82.41 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/2.271, allocations: 0 / 1.164 GB, free: 82.41 MB / 426.7 MB Notification: Performance of Templates: time 0.02047/2.291, allocations: 11.7 MB / 1.175 GB, free: 70.73 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches