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.0009135/0.0009136, allocations: 195.3 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 226.5 MB / 244.7 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007453/0.0007453, allocations: 99.66 kB / 296.8 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002204/0.0002205, allocations: 4 kB / 356.7 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1848, allocations: 51.3 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3239/0.5088, allocations: 137.8 MB / 0.5331 GB, free: 13.39 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.5098, allocations: 0.6764 MB / 0.5337 GB, free: 13.34 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.398e-05/0.5099, allocations: 3.375 kB / 0.5337 GB, free: 13.34 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.5102, allocations: 64.5 kB / 0.5338 GB, free: 13.32 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005026/0.5107, allocations: 280.5 kB / 0.5341 GB, free: 13.26 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.5135, allocations: 0.9333 MB / 0.535 GB, free: 13.11 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004557/0.5181, allocations: 5.985 MB / 0.5408 GB, free: 11.75 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003738/0.5185, allocations: 257.7 kB / 0.5411 GB, free: 11.64 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/0.522, allocations: 1.913 MB / 0.5429 GB, free: 11.11 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003682/0.5257, allocations: 2.049 MB / 0.5449 GB, free: 10.42 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007715/0.5265, allocations: 140.4 kB / 0.5451 GB, free: 10.42 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004211/0.5307, allocations: 1.692 MB / 0.5467 GB, free: 9.969 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.5322, allocations: 1.094 MB / 0.5478 GB, free: 9.5 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002643/0.5349, allocations: 1.4 MB / 0.5491 GB, free: 9.012 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003794/0.5387, allocations: 3.291 MB / 0.5524 GB, free: 7.469 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.5387, allocations: 0 / 0.5524 GB, free: 7.469 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5387, allocations: 1.75 kB / 0.5524 GB, free: 7.469 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.8e-05/0.5388, allocations: 4 kB / 0.5524 GB, free: 7.465 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.008397/0.5472, allocations: 2.892 MB / 0.5552 GB, free: 5.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.5473, allocations: 8.969 kB / 0.5552 GB, free: 5.844 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.5496, allocations: 331.6 kB / 0.5555 GB, free: 5.711 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003078/0.5527, allocations: 1.324 MB / 0.5568 GB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.5529, allocations: 179.9 kB / 0.557 GB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006511/0.5535, allocations: 242.6 kB / 0.5572 GB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006132/0.5597, allocations: 3.802 MB / 0.5609 GB, free: 3.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/0.5598, allocations: 3.938 kB / 0.5609 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004024/0.5602, allocations: 112 kB / 0.561 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-05/0.5602, allocations: 61.72 kB / 0.5611 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008679/0.5689, allocations: 5.968 MB / 0.5669 GB, free: 15.18 MB / 410.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.01986/0.5888, allocations: 11.2 MB / 0.5779 GB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006682/0.5955, allocations: 5.019 MB / 0.5828 GB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003655/0.5992, allocations: 2.385 MB / 0.5851 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006112/0.5999, allocations: 443.1 kB / 0.5855 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.968e-05/0.6, allocations: 93.88 kB / 0.5856 GB, free: 15.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 5.48e-06/0.6, allocations: 0 / 0.5856 GB, free: 15.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.009352/0.6093, allocations: 5.785 MB / 0.5912 GB, free: 10.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.6094, allocations: 98.41 kB / 0.5913 GB, free: 10.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.6105, allocations: 0.8654 MB / 0.5922 GB, free: 9.836 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004791/0.611, allocations: 101.3 kB / 0.5923 GB, free: 9.781 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.6113, allocations: 0.5118 MB / 0.5928 GB, free: 9.395 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.6124, allocations: 1.307 MB / 0.5941 GB, free: 8.273 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.6126, allocations: 73.94 kB / 0.5941 GB, free: 8.258 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.6128, allocations: 0.4912 MB / 0.5946 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002642/0.6155, allocations: 1.737 MB / 0.5963 GB, free: 6.508 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002974/0.6185, allocations: 2.242 MB / 0.5985 GB, free: 4.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006237/0.6247, allocations: 4.316 MB / 0.6027 GB, free: 1.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.25e-05/0.6248, allocations: 4 kB / 0.6027 GB, free: 1.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00753/0.6323, allocations: 4.564 MB / 0.6072 GB, free: 13.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.6324, allocations: 12.94 kB / 0.6072 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.6324, allocations: 8 kB / 0.6072 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.583e-05/0.6325, allocations: 28 kB / 0.6072 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/0.636, allocations: 0.7992 MB / 0.608 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.334e-05/0.6361, allocations: 31.92 kB / 0.608 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/0.6387, allocations: 423.8 kB / 0.6084 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003007/0.639, allocations: 142.5 kB / 0.6086 GB, free: 12.41 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.001431/0.6405, allocations: 0.7658 MB / 0.6093 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006302/0.6411, allocations: 205.8 kB / 0.6095 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008382/0.6495, allocations: 5.147 MB / 0.6145 GB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-05/0.6496, allocations: 47.92 kB / 0.6146 GB, free: 7.816 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.6496, allocations: 4 kB / 0.6146 GB, free: 7.812 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.6e-05/0.6496, allocations: 19.92 kB / 0.6146 GB, free: 7.793 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004642/0.6543, allocations: 2.824 MB / 0.6174 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.6543, allocations: 0 / 0.6174 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003391/0.6577, allocations: 0.7284 MB / 0.6181 GB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.342e-05/0.6578, allocations: 12 kB / 0.6181 GB, free: 4.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003192/0.6581, allocations: 91.47 kB / 0.6182 GB, free: 4.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.041e-05/0.6581, allocations: 19.94 kB / 0.6182 GB, free: 4.855 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6581, allocations: 0 / 0.6182 GB, free: 4.855 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.6686, allocations: 7.185 MB / 0.6252 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008843/0.6695, allocations: 357.1 kB / 0.6255 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004255/0.67, allocations: 75.8 kB / 0.6256 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002825/0.6728, allocations: 300 kB / 0.6259 GB, free: 14.83 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000624/0.6734, allocations: 316 kB / 0.6262 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005841/0.674, allocations: 177.5 kB / 0.6264 GB, free: 14.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009678/0.675, allocations: 0.679 MB / 0.627 GB, free: 13.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.675, allocations: 4 kB / 0.627 GB, free: 13.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00289/0.6779, allocations: 1.09 MB / 0.6281 GB, free: 12.92 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.001113/0.679, allocations: 442.1 kB / 0.6285 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007005/0.6861, allocations: 4.256 MB / 0.6327 GB, free: 9.223 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/0.6861, allocations: 5 kB / 0.6327 GB, free: 9.219 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003622/0.6898, allocations: 2.255 MB / 0.6349 GB, free: 7.461 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005847/0.6956, allocations: 1.227 MB / 0.6361 GB, free: 6.477 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.7088, allocations: 7.877 MB / 0.6438 GB, free: 15.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/0.7102, allocations: 1.853 MB / 0.6456 GB, free: 13.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/0.7119, allocations: 327.2 kB / 0.6459 GB, free: 13.05 MB / 474.7 MB Notification: Performance of SimCode: time 6.32e-07/0.7119, allocations: 0 / 0.6459 GB, free: 13.05 MB / 474.7 MB Notification: Performance of Templates: time 0.2234/0.9353, allocations: 46.42 MB / 0.6912 GB, free: 214.8 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