Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 181.2 kB / 8.131 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 221.4 MB / 229.9 MB, free: 2.996 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 96.7 kB / 280.8 MB, free: 1.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.863e-06, allocations: 0 / 336.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3077, allocations: 50.4 MB / 386.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.2/12.5, allocations: 6.204 GB / 6.582 GB, free: 45.73 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/12.5, allocations: 77.98 kB / 6.582 GB, free: 45.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.7652/13.27, allocations: 200.2 MB / 6.778 GB, free: 19.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.725e-05/13.27, allocations: 4 kB / 6.778 GB, free: 19.27 MB / 442.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.008252/13.28, allocations: 1.456 MB / 6.779 GB, free: 17.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/13.28, allocations: 8.031 kB / 6.779 GB, free: 17.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/13.28, allocations: 23.81 kB / 6.779 GB, free: 17.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/13.28, allocations: 222.8 kB / 6.779 GB, free: 17.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/13.28, allocations: 4 kB / 6.779 GB, free: 17.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/13.28, allocations: 8 kB / 6.779 GB, free: 17.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003844/13.28, allocations: 240.5 kB / 6.78 GB, free: 17.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/13.28, allocations: 241.2 kB / 6.78 GB, free: 16.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/13.28, allocations: 0 / 6.78 GB, free: 16.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/13.28, allocations: 3.906 kB / 6.78 GB, free: 16.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/13.28, allocations: 7.984 kB / 6.78 GB, free: 16.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/13.28, allocations: 0.6922 MB / 6.78 GB, free: 16.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/13.28, allocations: 189.3 kB / 6.781 GB, free: 16.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/13.28, allocations: 109.7 kB / 6.781 GB, free: 15.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01214/13.29, allocations: 12.49 MB / 6.793 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/13.29, allocations: 42.56 kB / 6.793 GB, free: 0.875 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 3.035e-06/13.29, allocations: 0 / 6.793 GB, free: 0.875 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.002049/13.29, allocations: 0.4996 MB / 6.793 GB, free: 380 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/13.29, allocations: 85.28 kB / 6.794 GB, free: 276 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/13.29, allocations: 120.9 kB / 6.794 GB, free: 148 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/13.29, allocations: 25.7 kB / 6.794 GB, free: 116 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/13.29, allocations: 108.6 kB / 6.794 GB, free: 4 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2086/13.5, allocations: 122.9 kB / 6.794 GB, free: 99.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/13.5, allocations: 0 / 6.794 GB, free: 99.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.632e-05/13.5, allocations: 328.4 kB / 6.794 GB, free: 99.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/13.5, allocations: 106.1 kB / 6.794 GB, free: 99.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/13.5, allocations: 177 kB / 6.795 GB, free: 99.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/13.5, allocations: 155.6 kB / 6.795 GB, free: 99.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/13.5, allocations: 0 / 6.795 GB, free: 99.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008084/13.51, allocations: 369.9 kB / 6.795 GB, free: 99.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/13.51, allocations: 5.75 kB / 6.795 GB, free: 99.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/13.51, allocations: 3.188 kB / 6.795 GB, free: 99.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/13.51, allocations: 6.062 kB / 6.795 GB, free: 99.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/13.51, allocations: 86.42 kB / 6.795 GB, free: 99.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/13.51, allocations: 11.56 kB / 6.795 GB, free: 99.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/13.51, allocations: 20.45 kB / 6.795 GB, free: 99.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/13.51, allocations: 21.34 kB / 6.795 GB, free: 99.55 MB / 442.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.0001102/13.51, allocations: 118.6 kB / 6.795 GB, free: 99.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/13.51, allocations: 18.44 kB / 6.795 GB, free: 99.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005705/13.51, allocations: 211.9 kB / 6.795 GB, free: 99.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/13.51, allocations: 5.594 kB / 6.796 GB, free: 99.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/13.51, allocations: 3 kB / 6.796 GB, free: 99.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/13.51, allocations: 2.906 kB / 6.796 GB, free: 99.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/13.51, allocations: 0.6653 MB / 6.796 GB, free: 99.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/13.51, allocations: 6.031 kB / 6.796 GB, free: 99.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/13.51, allocations: 78.78 kB / 6.796 GB, free: 99.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/13.51, allocations: 7.906 kB / 6.796 GB, free: 99.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/13.51, allocations: 3.688 kB / 6.796 GB, free: 99.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/13.51, allocations: 11.48 kB / 6.796 GB, free: 99.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/13.51, allocations: 2.188 kB / 6.796 GB, free: 99.09 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009679/13.51, allocations: 0.72 MB / 6.797 GB, free: 98.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/13.51, allocations: 133.8 kB / 6.797 GB, free: 98.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/13.51, allocations: 0 / 6.797 GB, free: 98.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/13.51, allocations: 16.53 kB / 6.797 GB, free: 98.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/13.51, allocations: 28.48 kB / 6.797 GB, free: 98.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/13.51, allocations: 21.05 kB / 6.797 GB, free: 98.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.339e-05/13.51, allocations: 92.14 kB / 6.797 GB, free: 98.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006139/13.52, allocations: 1.109 MB / 6.798 GB, free: 98.55 MB / 442.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.0105/13.53, allocations: 1.733 MB / 6.8 GB, free: 98.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006585/13.53, allocations: 272 kB / 6.8 GB, free: 98.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/13.53, allocations: 3.281 kB / 6.8 GB, free: 98.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/13.53, allocations: 154 kB / 6.8 GB, free: 98.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006846/13.53, allocations: 81.8 kB / 6.801 GB, free: 98.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0289/13.56, allocations: 12.36 MB / 6.813 GB, free: 97.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/13.56, allocations: 0.7899 MB / 6.813 GB, free: 96.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.282e-06/13.56, allocations: 0 / 6.813 GB, free: 96.9 MB / 442.7 MB Notification: Performance of Templates: time 0.04351/13.6, allocations: 32.94 MB / 6.846 GB, free: 96.66 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches