Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") [: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.002507/0.002507, allocations: 182.9 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.553/1.553, allocations: 205.2 MB / 214.1 MB, free: 5.082 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.001093/0.001093, allocations: 97.89 kB / 262.1 MB, free: 5.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.444e-06/7.464e-06, allocations: 4 kB / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 47.58 MB / 362.5 MB, free: 9.938 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.41/14.52, allocations: 6.679 GB / 7.033 GB, free: 128.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/14.52, allocations: 76.19 kB / 7.033 GB, free: 128.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.7912/15.31, allocations: 190.9 MB / 7.219 GB, free: 66.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.723e-05/15.31, allocations: 7.406 kB / 7.219 GB, free: 66.47 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.01019/15.32, allocations: 1.457 MB / 7.221 GB, free: 65.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/15.32, allocations: 11.34 kB / 7.221 GB, free: 65.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/15.32, allocations: 28.66 kB / 7.221 GB, free: 65.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/15.32, allocations: 211.5 kB / 7.221 GB, free: 65.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/15.32, allocations: 7.469 kB / 7.221 GB, free: 65.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/15.32, allocations: 15.27 kB / 7.221 GB, free: 65.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005256/15.33, allocations: 244.1 kB / 7.221 GB, free: 65.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/15.33, allocations: 233.4 kB / 7.221 GB, free: 65.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/15.33, allocations: 0 / 7.221 GB, free: 65.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/15.33, allocations: 0 / 7.221 GB, free: 65.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/15.33, allocations: 12.3 kB / 7.221 GB, free: 65.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/15.33, allocations: 0.6791 MB / 7.222 GB, free: 65.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/15.33, allocations: 197.8 kB / 7.222 GB, free: 65.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/15.33, allocations: 112.1 kB / 7.222 GB, free: 65.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01479/15.34, allocations: 12.5 MB / 7.234 GB, free: 52.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/15.34, allocations: 40.19 kB / 7.234 GB, free: 52.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.797e-06/15.34, allocations: 0 / 7.234 GB, free: 52.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002406/15.35, allocations: 0.5045 MB / 7.235 GB, free: 52.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/15.35, allocations: 81.17 kB / 7.235 GB, free: 52.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/15.35, allocations: 121.2 kB / 7.235 GB, free: 51.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/15.35, allocations: 25.7 kB / 7.235 GB, free: 51.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/15.35, allocations: 108.6 kB / 7.235 GB, free: 51.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/15.35, allocations: 122.6 kB / 7.235 GB, free: 51.78 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/15.35, allocations: 0 / 7.235 GB, free: 51.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.946e-05/15.35, allocations: 329.4 kB / 7.236 GB, free: 51.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/15.35, allocations: 110.1 kB / 7.236 GB, free: 51.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/15.35, allocations: 175.1 kB / 7.236 GB, free: 51.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/15.35, allocations: 146 kB / 7.236 GB, free: 51.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/15.35, allocations: 3.094 kB / 7.236 GB, free: 51.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009054/15.35, allocations: 372.2 kB / 7.236 GB, free: 51.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/15.35, allocations: 9.469 kB / 7.236 GB, free: 51.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/15.35, allocations: 3.656 kB / 7.236 GB, free: 51.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/15.35, allocations: 3.688 kB / 7.236 GB, free: 51.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/15.35, allocations: 97.2 kB / 7.237 GB, free: 51.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/15.35, allocations: 3.906 kB / 7.237 GB, free: 51.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/15.35, allocations: 22.19 kB / 7.237 GB, free: 51.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/15.35, allocations: 21.19 kB / 7.237 GB, free: 51.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001409/15.35, allocations: 111.9 kB / 7.237 GB, free: 51.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/15.35, allocations: 19.69 kB / 7.237 GB, free: 51.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006518/15.35, allocations: 220.7 kB / 7.237 GB, free: 51.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/15.35, allocations: 3.969 kB / 7.237 GB, free: 51.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/15.35, allocations: 0 / 7.237 GB, free: 51.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/15.35, allocations: 3.75 kB / 7.237 GB, free: 51.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/15.35, allocations: 0.6575 MB / 7.238 GB, free: 50.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/15.35, allocations: 3.438 kB / 7.238 GB, free: 50.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/15.35, allocations: 88.16 kB / 7.238 GB, free: 50.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/15.35, allocations: 3.875 kB / 7.238 GB, free: 50.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/15.35, allocations: 3.938 kB / 7.238 GB, free: 50.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/15.35, allocations: 15.7 kB / 7.238 GB, free: 50.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/15.35, allocations: 0 / 7.238 GB, free: 50.81 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001132/15.35, allocations: 0.7131 MB / 7.238 GB, free: 50.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/15.35, allocations: 128.5 kB / 7.239 GB, free: 50.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/15.35, allocations: 7.609 kB / 7.239 GB, free: 50.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/15.35, allocations: 13.22 kB / 7.239 GB, free: 50.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/15.35, allocations: 27.11 kB / 7.239 GB, free: 50.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/15.35, allocations: 18.48 kB / 7.239 GB, free: 50.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.352e-05/15.35, allocations: 100.1 kB / 7.239 GB, free: 50.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007032/15.36, allocations: 1.086 MB / 7.24 GB, free: 50.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01222/15.37, allocations: 1.744 MB / 7.241 GB, free: 49.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008532/15.37, allocations: 293 kB / 7.242 GB, free: 49.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/15.37, allocations: 7.328 kB / 7.242 GB, free: 49.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/15.37, allocations: 151.8 kB / 7.242 GB, free: 49.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/15.38, allocations: 80.17 kB / 7.242 GB, free: 49.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04023/15.42, allocations: 12.03 MB / 7.254 GB, free: 48.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006714/15.42, allocations: 0.7938 MB / 7.254 GB, free: 47.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.223e-06/15.42, allocations: 0.9688 kB / 7.254 GB, free: 47.7 MB / 426.7 MB Notification: Performance of Templates: time 0.06314/15.48, allocations: 34.54 MB / 7.288 GB, free: 43.79 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches