Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.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.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData") [: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.001097/0.001097, allocations: 178.9 kB / 8.478 MB, free: 1.871 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.403/1.403, allocations: 205.2 MB / 214.1 MB, free: 5.086 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.001051/0.001051, allocations: 94.25 kB / 262.1 MB, free: 5.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.815e-06/7.835e-06, allocations: 0 / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 47.58 MB / 362.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.391/7.493, allocations: 3.622 GB / 3.976 GB, free: 154.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/7.493, allocations: 72.14 kB / 3.976 GB, free: 154.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.2446/7.738, allocations: 104 MB / 4.077 GB, free: 53.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001187/7.738, allocations: 51.98 kB / 4.078 GB, free: 53.45 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: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.01144/7.749, allocations: 2.573 MB / 4.08 GB, free: 50.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.144e-05/7.75, allocations: 8.031 kB / 4.08 GB, free: 50.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003578/7.753, allocations: 325.3 kB / 4.08 GB, free: 50.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/7.757, allocations: 1.353 MB / 4.082 GB, free: 49.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/7.758, allocations: 80 kB / 4.082 GB, free: 49.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008564/7.758, allocations: 143.9 kB / 4.082 GB, free: 48.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007503/7.766, allocations: 5.825 MB / 4.088 GB, free: 43.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004857/7.771, allocations: 3.455 MB / 4.091 GB, free: 39.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.044e-05/7.771, allocations: 0 / 4.091 GB, free: 39.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003296/7.771, allocations: 8 kB / 4.091 GB, free: 39.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.045e-05/7.771, allocations: 59.91 kB / 4.091 GB, free: 39.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01693/7.788, allocations: 10.33 MB / 4.101 GB, free: 28.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00483/7.793, allocations: 4.56 MB / 4.106 GB, free: 23.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002352/7.795, allocations: 2.33 MB / 4.108 GB, free: 21.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005125/7.796, allocations: 443.3 kB / 4.108 GB, free: 21.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.139e-05/7.796, allocations: 98.34 kB / 4.108 GB, free: 20.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 5.24e-06/7.796, allocations: 3.938 kB / 4.108 GB, free: 20.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.007977/7.804, allocations: 4.602 MB / 4.113 GB, free: 16.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/7.804, allocations: 98.47 kB / 4.113 GB, free: 16.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00061/7.805, allocations: 0.5439 MB / 4.113 GB, free: 15.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003959/7.805, allocations: 29.7 kB / 4.113 GB, free: 15.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/7.805, allocations: 494.9 kB / 4.114 GB, free: 15.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008407/7.806, allocations: 1.255 MB / 4.115 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/7.806, allocations: 0 / 4.115 GB, free: 13.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/7.807, allocations: 486.2 kB / 4.116 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/7.809, allocations: 1.713 MB / 4.117 GB, free: 11.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/7.811, allocations: 2.205 MB / 4.119 GB, free: 9.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005033/7.816, allocations: 2.773 MB / 4.122 GB, free: 6.484 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/7.816, allocations: 8 kB / 4.122 GB, free: 6.477 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008112/7.824, allocations: 5.037 MB / 4.127 GB, free: 1.414 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/7.824, allocations: 11.91 kB / 4.127 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/7.824, allocations: 8 kB / 4.127 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.901e-05/7.824, allocations: 32 kB / 4.127 GB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003646/7.828, allocations: 0.7684 MB / 4.128 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-05/7.828, allocations: 35.92 kB / 4.128 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/7.831, allocations: 317 kB / 4.128 GB, free: 252 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/7.831, allocations: 143.9 kB / 4.128 GB, free: 108 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * 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.2359/8.067, allocations: 175.3 kB / 4.129 GB, free: 141.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/8.068, allocations: 195 kB / 4.129 GB, free: 141.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/8.079, allocations: 5.669 MB / 4.134 GB, free: 141.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.662e-05/8.079, allocations: 44.91 kB / 4.134 GB, free: 141.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/8.079, allocations: 0 / 4.134 GB, free: 141.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/8.079, allocations: 18.42 kB / 4.134 GB, free: 141.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/8.093, allocations: 7.583 MB / 4.142 GB, free: 140.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/8.093, allocations: 3.969 kB / 4.142 GB, free: 140.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003641/8.096, allocations: 0.716 MB / 4.142 GB, free: 140.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.491e-05/8.096, allocations: 15.22 kB / 4.142 GB, free: 140.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/8.097, allocations: 44.97 kB / 4.142 GB, free: 140.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.116e-05/8.097, allocations: 18.5 kB / 4.143 GB, free: 140.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/8.097, allocations: 8.094 kB / 4.143 GB, free: 140.9 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01198/8.109, allocations: 8.021 MB / 4.15 GB, free: 140.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009448/8.11, allocations: 330 kB / 4.151 GB, free: 140 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000385/8.11, allocations: 13.58 kB / 4.151 GB, free: 140 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003295/8.113, allocations: 200.1 kB / 4.151 GB, free: 140 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005967/8.114, allocations: 264.9 kB / 4.151 GB, free: 140 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004/8.114, allocations: 178 kB / 4.151 GB, free: 140 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006256/8.115, allocations: 484.2 kB / 4.152 GB, free: 139.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003398/8.119, allocations: 1.016 MB / 4.153 GB, free: 139.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * 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.002232/8.121, allocations: 0.9234 MB / 4.154 GB, free: 139.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005887/8.127, allocations: 4.199 MB / 4.158 GB, free: 139.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/8.127, allocations: 4.562 kB / 4.158 GB, free: 139.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002887/8.13, allocations: 2.301 MB / 4.16 GB, free: 139.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004689/8.134, allocations: 0.8353 MB / 4.161 GB, free: 139.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/8.146, allocations: 6.16 MB / 4.167 GB, free: 138.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002695/8.149, allocations: 2.282 MB / 4.169 GB, free: 138.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/8.149, allocations: 3.125 kB / 4.169 GB, free: 138.2 MB / 426.7 MB Notification: Performance of Templates: time 0.09959/8.249, allocations: 65.32 MB / 4.233 GB, free: 97.66 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches