Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.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.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_trunk_cpp_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_trunk_cpp_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009252/0.0009252, allocations: 196.8 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 226.6 MB / 244.3 MB, free: 8.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000708/0.000708, allocations: 105.3 kB / 296.4 MB, free: 7.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001817/0.0001817, allocations: 12 kB / 356.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1661, allocations: 51.3 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2719/0.438, allocations: 137.8 MB / 0.5325 GB, free: 13.43 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007832/0.4388, allocations: 0.6713 MB / 0.5332 GB, free: 13.38 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.049e-05/0.4389, allocations: 0 / 0.5332 GB, free: 13.38 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.4392, allocations: 56.19 kB / 0.5332 GB, free: 13.36 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004407/0.4396, allocations: 277.5 kB / 0.5335 GB, free: 13.3 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.4416, allocations: 0.8579 MB / 0.5343 GB, free: 13.16 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003705/0.4453, allocations: 5.988 MB / 0.5402 GB, free: 11.83 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.4456, allocations: 263.5 kB / 0.5404 GB, free: 11.71 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.4474, allocations: 1.921 MB / 0.5423 GB, free: 11.18 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/0.4494, allocations: 2.05 MB / 0.5443 GB, free: 10.49 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003329/0.4498, allocations: 142.4 kB / 0.5444 GB, free: 10.49 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.452, allocations: 1.424 MB / 0.5458 GB, free: 10.12 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008055/0.4528, allocations: 1.091 MB / 0.5469 GB, free: 9.656 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.4533, allocations: 0.4926 MB / 0.5474 GB, free: 9.559 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.4557, allocations: 3.235 MB / 0.5505 GB, free: 8.039 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4557, allocations: 4 kB / 0.5505 GB, free: 8.035 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4557, allocations: 0 / 0.5505 GB, free: 8.035 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.769e-05/0.4557, allocations: 1.781 kB / 0.5505 GB, free: 8.035 MB / 394.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.007033/0.4628, allocations: 2.922 MB / 0.5534 GB, free: 6.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.4628, allocations: 8.719 kB / 0.5534 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.4643, allocations: 324.8 kB / 0.5537 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/0.4664, allocations: 1.301 MB / 0.555 GB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-05/0.4665, allocations: 187.2 kB / 0.5552 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000309/0.4668, allocations: 249.8 kB / 0.5554 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004943/0.4718, allocations: 3.798 MB / 0.5591 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/0.4718, allocations: 0 / 0.5591 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003064/0.4721, allocations: 116.6 kB / 0.5592 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.4722, allocations: 57.5 kB / 0.5593 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007502/0.4797, allocations: 5.964 MB / 0.5651 GB, free: 216 kB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01621/0.4959, allocations: 11.19 MB / 0.576 GB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005778/0.5017, allocations: 5.013 MB / 0.5809 GB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002851/0.5045, allocations: 2.393 MB / 0.5833 GB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000458/0.505, allocations: 444.1 kB / 0.5837 GB, free: 200 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.5051, allocations: 95.69 kB / 0.5838 GB, free: 132 kB / 410.7 MB Notification: Performance of pre-optimization done (n=390): time 4.448e-06/0.5051, allocations: 0 / 0.5838 GB, free: 132 kB / 410.7 MB Notification: Performance of matching and sorting (n=390): time 0.007938/0.513, allocations: 5.783 MB / 0.5894 GB, free: 11.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.5131, allocations: 90.47 kB / 0.5895 GB, free: 11.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008638/0.514, allocations: 0.8626 MB / 0.5904 GB, free: 10.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002533/0.5142, allocations: 101.8 kB / 0.5905 GB, free: 10.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.5145, allocations: 0.5177 MB / 0.591 GB, free: 10.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008215/0.5153, allocations: 1.306 MB / 0.5922 GB, free: 9.316 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.5155, allocations: 73.66 kB / 0.5923 GB, free: 9.301 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.5158, allocations: 0.4937 MB / 0.5928 GB, free: 8.875 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002428/0.5182, allocations: 1.737 MB / 0.5945 GB, free: 7.551 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/0.5209, allocations: 2.249 MB / 0.5967 GB, free: 5.625 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/0.5237, allocations: 2.104 MB / 0.5987 GB, free: 4.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.5237, allocations: 3.953 kB / 0.5987 GB, free: 4.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006195/0.5299, allocations: 4.561 MB / 0.6032 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.5299, allocations: 16.22 kB / 0.6032 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.53, allocations: 12 kB / 0.6032 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-05/0.53, allocations: 28 kB / 0.6032 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00337/0.5334, allocations: 0.7874 MB / 0.604 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.494e-05/0.5334, allocations: 35.92 kB / 0.604 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/0.5357, allocations: 424.3 kB / 0.6045 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/0.5359, allocations: 143.5 kB / 0.6046 GB, free: 15.25 MB / 442.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 () * Number of clocked 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.00101/0.5369, allocations: 0.7647 MB / 0.6053 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003917/0.5373, allocations: 213.7 kB / 0.6055 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007424/0.5448, allocations: 5.17 MB / 0.6106 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.39e-05/0.5448, allocations: 44 kB / 0.6106 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.5448, allocations: 1.859 kB / 0.6106 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.127e-05/0.5449, allocations: 19.92 kB / 0.6107 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.5486, allocations: 2.815 MB / 0.6134 GB, free: 8.445 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.5486, allocations: 1.859 kB / 0.6134 GB, free: 8.445 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003258/0.5519, allocations: 0.7405 MB / 0.6141 GB, free: 7.734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.731e-05/0.5519, allocations: 15.98 kB / 0.6141 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/0.5521, allocations: 87.09 kB / 0.6142 GB, free: 7.684 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-05/0.5521, allocations: 12 kB / 0.6142 GB, free: 7.672 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5521, allocations: 4 kB / 0.6142 GB, free: 7.668 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008882/0.561, allocations: 7.187 MB / 0.6213 GB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/0.5614, allocations: 352 kB / 0.6216 GB, free: 1.902 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/0.5617, allocations: 78.44 kB / 0.6217 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/0.5643, allocations: 296.9 kB / 0.622 GB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004487/0.5648, allocations: 314.2 kB / 0.6223 GB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003084/0.5651, allocations: 182 kB / 0.6224 GB, free: 1.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007084/0.5658, allocations: 0.6785 MB / 0.6231 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5658, allocations: 0 / 0.6231 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001953/0.5678, allocations: 1.083 MB / 0.6241 GB, free: 15.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 () * Number of clocked 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.0009337/0.5687, allocations: 444.7 kB / 0.6246 GB, free: 15.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005543/0.5743, allocations: 4.256 MB / 0.6287 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.5743, allocations: 7.062 kB / 0.6287 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002749/0.5771, allocations: 2.261 MB / 0.6309 GB, free: 10.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00484/0.5819, allocations: 1.231 MB / 0.6321 GB, free: 9.297 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.593, allocations: 7.878 MB / 0.6398 GB, free: 1.973 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.5942, allocations: 1.853 MB / 0.6416 GB, free: 160 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/0.5955, allocations: 330.8 kB / 0.642 GB, free: 15.86 MB / 474.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5955, allocations: 4 kB / 0.642 GB, free: 15.86 MB / 474.7 MB Notification: Performance of Templates: time 0.0584/0.6539, allocations: 46.45 MB / 0.6873 GB, free: 1.664 MB / 0.4948 GB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches