Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.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.001085/0.001085, allocations: 199 kB / 8.536 MB, free: 1.773 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 225.5 MB / 234.4 MB, free: 3.449 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008967/0.0008967, allocations: 96.14 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.924e-06/8.145e-06, allocations: 0 / 343.1 MB, free: 8.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1498, allocations: 51.47 MB / 394.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.798/7.947, allocations: 3.33 GB / 3.715 GB, free: 148.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/7.948, allocations: 76.11 kB / 3.715 GB, free: 148.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.1138/8.062, allocations: 48.32 MB / 3.762 GB, free: 113.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.049e-05/8.062, allocations: 4 kB / 3.762 GB, free: 113.6 MB / 458.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.002124/8.064, allocations: 0.6373 MB / 3.763 GB, free: 112.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/8.064, allocations: 12.03 kB / 3.763 GB, free: 112.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/8.064, allocations: 15.81 kB / 3.763 GB, free: 112.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/8.065, allocations: 214.8 kB / 3.763 GB, free: 112.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/8.065, allocations: 4 kB / 3.763 GB, free: 112.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/8.065, allocations: 23.84 kB / 3.763 GB, free: 112.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004052/8.065, allocations: 204.5 kB / 3.763 GB, free: 112.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/8.065, allocations: 225.2 kB / 3.763 GB, free: 112.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/8.065, allocations: 3.938 kB / 3.763 GB, free: 112.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/8.066, allocations: 4 kB / 3.763 GB, free: 112.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/8.066, allocations: 4 kB / 3.763 GB, free: 112.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/8.067, allocations: 0.6364 MB / 3.764 GB, free: 111.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/8.067, allocations: 188 kB / 3.764 GB, free: 111.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/8.068, allocations: 110.7 kB / 3.764 GB, free: 111.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/8.068, allocations: 356.3 kB / 3.765 GB, free: 110.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/8.068, allocations: 38.56 kB / 3.765 GB, free: 110.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 2.295e-06/8.068, allocations: 0 / 3.765 GB, free: 110.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.001655/8.07, allocations: 0.4884 MB / 3.765 GB, free: 110.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/8.07, allocations: 81.3 kB / 3.765 GB, free: 110.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/8.07, allocations: 113.1 kB / 3.765 GB, free: 110 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/8.07, allocations: 29.7 kB / 3.765 GB, free: 110 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/8.07, allocations: 104.6 kB / 3.766 GB, free: 109.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.877e-05/8.07, allocations: 122.2 kB / 3.766 GB, free: 109.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/8.07, allocations: 0 / 3.766 GB, free: 109.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.563e-05/8.07, allocations: 330.8 kB / 3.766 GB, free: 109.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/8.07, allocations: 104 kB / 3.766 GB, free: 109.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/8.07, allocations: 171.7 kB / 3.766 GB, free: 109.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/8.071, allocations: 150.4 kB / 3.766 GB, free: 109 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/8.071, allocations: 0 / 3.766 GB, free: 109 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006256/8.071, allocations: 358.2 kB / 3.767 GB, free: 108.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/8.071, allocations: 8.219 kB / 3.767 GB, free: 108.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/8.071, allocations: 7.938 kB / 3.767 GB, free: 108.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/8.071, allocations: 7.906 kB / 3.767 GB, free: 108.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/8.072, allocations: 83.88 kB / 3.767 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/8.072, allocations: 8 kB / 3.767 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/8.072, allocations: 19.92 kB / 3.767 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/8.072, allocations: 23.89 kB / 3.767 GB, free: 108.5 MB / 458.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.00013/8.073, allocations: 116.9 kB / 3.767 GB, free: 108.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/8.073, allocations: 15.81 kB / 3.767 GB, free: 108.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005355/8.073, allocations: 188.9 kB / 3.767 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/8.073, allocations: 4 kB / 3.767 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/8.073, allocations: 4 kB / 3.767 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/8.073, allocations: 0 / 3.767 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/8.074, allocations: 0.6457 MB / 3.768 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/8.074, allocations: 4 kB / 3.768 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/8.075, allocations: 78.23 kB / 3.768 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/8.075, allocations: 7.984 kB / 3.768 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/8.075, allocations: 4 kB / 3.768 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/8.075, allocations: 8.094 kB / 3.768 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/8.075, allocations: 4 kB / 3.768 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000955/8.076, allocations: 0.6999 MB / 3.769 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/8.076, allocations: 120.8 kB / 3.769 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/8.076, allocations: 7.938 kB / 3.769 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/8.077, allocations: 24.03 kB / 3.769 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/8.077, allocations: 15.97 kB / 3.769 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/8.077, allocations: 16 kB / 3.769 GB, free: 106.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.138e-05/8.077, allocations: 91.27 kB / 3.769 GB, free: 106.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009486/8.078, allocations: 179.8 kB / 3.769 GB, free: 106.1 MB / 458.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.001472/8.079, allocations: 0.7639 MB / 3.77 GB, free: 105.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005146/8.08, allocations: 279.5 kB / 3.77 GB, free: 105 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/8.08, allocations: 5.156 kB / 3.77 GB, free: 105 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002044/8.08, allocations: 143.8 kB / 3.77 GB, free: 104.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/8.081, allocations: 82.34 kB / 3.77 GB, free: 104.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/8.082, allocations: 458.8 kB / 3.771 GB, free: 104.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/8.082, allocations: 0.7874 MB / 3.771 GB, free: 103.5 MB / 458.7 MB Notification: Performance of SimCode: time 6.51e-07/8.082, allocations: 0 / 3.771 GB, free: 103.5 MB / 458.7 MB Notification: Performance of Templates: time 0.01532/8.098, allocations: 9.292 MB / 3.781 GB, free: 94.29 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches