Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001489/0.001488, allocations: 200.1 kB / 8.541 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 88.62 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.925e-06/7.955e-06, allocations: 0 / 343.1 MB, free: 8.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1533, allocations: 51.48 MB / 394.6 MB, free: 5.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.08/15.24, allocations: 6.205 GB / 6.59 GB, free: 56.52 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/15.24, allocations: 71.97 kB / 6.59 GB, free: 56.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.8058/16.04, allocations: 199.9 MB / 6.786 GB, free: 26.58 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.764e-05/16.04, allocations: 4 kB / 6.786 GB, free: 26.58 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.007968/16.05, allocations: 1.46 MB / 6.787 GB, free: 25.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/16.05, allocations: 8.031 kB / 6.787 GB, free: 25.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/16.05, allocations: 19.81 kB / 6.787 GB, free: 25.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/16.05, allocations: 226 kB / 6.787 GB, free: 24.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/16.05, allocations: 8 kB / 6.787 GB, free: 24.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.955e-05/16.05, allocations: 12 kB / 6.787 GB, free: 24.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004444/16.05, allocations: 240.5 kB / 6.788 GB, free: 24.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/16.05, allocations: 237.1 kB / 6.788 GB, free: 24.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/16.05, allocations: 3.906 kB / 6.788 GB, free: 24.28 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/16.05, allocations: 3.938 kB / 6.788 GB, free: 24.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/16.05, allocations: 8 kB / 6.788 GB, free: 24.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/16.05, allocations: 0.6789 MB / 6.789 GB, free: 23.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/16.05, allocations: 196.6 kB / 6.789 GB, free: 23.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/16.05, allocations: 112.2 kB / 6.789 GB, free: 23.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01335/16.07, allocations: 12.49 MB / 6.801 GB, free: 8.227 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/16.07, allocations: 50.5 kB / 6.801 GB, free: 8.168 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 3.256e-06/16.07, allocations: 0 / 6.801 GB, free: 8.168 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.002219/16.07, allocations: 0.4944 MB / 6.802 GB, free: 7.672 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/16.07, allocations: 89.22 kB / 6.802 GB, free: 7.566 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/16.07, allocations: 114.8 kB / 6.802 GB, free: 7.449 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/16.07, allocations: 29.64 kB / 6.802 GB, free: 7.414 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/16.07, allocations: 108.6 kB / 6.802 GB, free: 7.305 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.434e-05/16.07, allocations: 122.2 kB / 6.802 GB, free: 7.184 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/16.07, allocations: 0 / 6.802 GB, free: 7.184 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.855e-05/16.07, allocations: 322.8 kB / 6.802 GB, free: 6.859 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/16.07, allocations: 104.7 kB / 6.802 GB, free: 6.758 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/16.07, allocations: 174.8 kB / 6.803 GB, free: 6.562 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003884/16.07, allocations: 156.8 kB / 6.803 GB, free: 6.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/16.07, allocations: 0 / 6.803 GB, free: 6.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008622/16.07, allocations: 368.9 kB / 6.803 GB, free: 6.047 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/16.07, allocations: 7.906 kB / 6.803 GB, free: 6.039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/16.07, allocations: 4 kB / 6.803 GB, free: 6.035 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/16.07, allocations: 4 kB / 6.803 GB, free: 6.031 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/16.07, allocations: 87.88 kB / 6.803 GB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/16.07, allocations: 7.938 kB / 6.803 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/16.07, allocations: 32.03 kB / 6.803 GB, free: 5.906 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/16.07, allocations: 12 kB / 6.803 GB, free: 5.895 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.0001033/16.07, allocations: 112.9 kB / 6.803 GB, free: 5.777 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/16.07, allocations: 19.81 kB / 6.803 GB, free: 5.758 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/16.07, allocations: 224.7 kB / 6.804 GB, free: 5.535 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/16.07, allocations: 7.906 kB / 6.804 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/16.07, allocations: 0 / 6.804 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/16.07, allocations: 0 / 6.804 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/16.08, allocations: 0.6607 MB / 6.804 GB, free: 4.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/16.08, allocations: 4 kB / 6.804 GB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/16.08, allocations: 87.81 kB / 6.804 GB, free: 4.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/16.08, allocations: 0 / 6.804 GB, free: 4.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/16.08, allocations: 11.98 kB / 6.804 GB, free: 4.719 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/16.08, allocations: 0 / 6.804 GB, free: 4.719 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/16.08, allocations: 8.156 kB / 6.804 GB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009339/16.08, allocations: 0.7184 MB / 6.805 GB, free: 3.926 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/16.08, allocations: 124.8 kB / 6.805 GB, free: 3.785 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/16.08, allocations: 4 kB / 6.805 GB, free: 3.781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/16.08, allocations: 20.03 kB / 6.805 GB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/16.08, allocations: 27.88 kB / 6.805 GB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/16.08, allocations: 19.98 kB / 6.805 GB, free: 3.715 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.271e-05/16.08, allocations: 87.28 kB / 6.805 GB, free: 3.629 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005725/16.08, allocations: 1.12 MB / 6.806 GB, free: 2.508 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.009892/16.09, allocations: 1.751 MB / 6.808 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006005/16.09, allocations: 278.7 kB / 6.808 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/16.09, allocations: 0 / 6.808 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000218/16.09, allocations: 151.8 kB / 6.809 GB, free: 440 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006889/16.1, allocations: 84.3 kB / 6.809 GB, free: 360 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2411/16.34, allocations: 12.41 MB / 6.821 GB, free: 89.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/16.34, allocations: 0.784 MB / 6.821 GB, free: 88.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.162e-06/16.34, allocations: 0 / 6.821 GB, free: 88.48 MB / 442.7 MB Notification: Performance of Templates: time 0.04841/16.39, allocations: 33.11 MB / 6.854 GB, free: 88.23 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches