Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 102 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 39.94 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2451, allocations: 49.42 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3431/0.5882, allocations: 149.7 MB / 0.5363 GB, free: 12.12 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009311/0.5891, allocations: 0.7102 MB / 0.537 GB, free: 12.06 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.5892, allocations: 2.812 kB / 0.537 GB, free: 12.06 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.5896, allocations: 71.94 kB / 0.537 GB, free: 12.04 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004398/0.59, allocations: 285.9 kB / 0.5373 GB, free: 11.98 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.5922, allocations: 0.961 MB / 0.5383 GB, free: 11.83 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004784/0.597, allocations: 7.16 MB / 0.5452 GB, free: 9.727 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/0.5974, allocations: 258.5 kB / 0.5455 GB, free: 9.613 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003/0.6004, allocations: 1.926 MB / 0.5474 GB, free: 9.207 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.6032, allocations: 1.962 MB / 0.5493 GB, free: 8.602 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004484/0.6037, allocations: 140.6 kB / 0.5494 GB, free: 8.602 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/0.6069, allocations: 1.685 MB / 0.5511 GB, free: 8.152 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.608, allocations: 1.08 MB / 0.5521 GB, free: 7.688 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.6098, allocations: 1.412 MB / 0.5535 GB, free: 7.188 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004533/0.6143, allocations: 4.408 MB / 0.5578 GB, free: 5.113 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.6144, allocations: 0 / 0.5578 GB, free: 5.113 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.6144, allocations: 0 / 0.5578 GB, free: 5.113 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.01e-05/0.6144, allocations: 1.406 kB / 0.5578 GB, free: 5.113 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.00877/0.6232, allocations: 3.494 MB / 0.5612 GB, free: 1.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.6233, allocations: 12.03 kB / 0.5612 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.625, allocations: 330 kB / 0.5615 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/0.6282, allocations: 1.313 MB / 0.5628 GB, free: 400 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.6283, allocations: 183.7 kB / 0.563 GB, free: 292 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003892/0.6287, allocations: 246.4 kB / 0.5632 GB, free: 124 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005767/0.6345, allocations: 3.822 MB / 0.567 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.829e-05/0.6346, allocations: 0 / 0.567 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003246/0.6349, allocations: 114.2 kB / 0.5671 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.635, allocations: 59.94 kB / 0.5671 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008827/0.6438, allocations: 5.995 MB / 0.573 GB, free: 7.281 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.02098/0.6648, allocations: 11.17 MB / 0.5839 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007299/0.6721, allocations: 5.038 MB / 0.5888 GB, free: 6.332 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003604/0.6758, allocations: 2.408 MB / 0.5912 GB, free: 3.914 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005722/0.6764, allocations: 431.8 kB / 0.5916 GB, free: 3.438 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.545e-05/0.6765, allocations: 98.62 kB / 0.5917 GB, free: 3.332 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 6.813e-06/0.6765, allocations: 0 / 0.5917 GB, free: 3.332 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.0103/0.6868, allocations: 5.809 MB / 0.5973 GB, free: 13.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.6869, allocations: 94.41 kB / 0.5974 GB, free: 13.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.6881, allocations: 0.8752 MB / 0.5983 GB, free: 12.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004105/0.6885, allocations: 105.7 kB / 0.5984 GB, free: 12.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.6889, allocations: 0.5161 MB / 0.5989 GB, free: 11.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001088/0.69, allocations: 1.305 MB / 0.6002 GB, free: 10.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/0.6911, allocations: 0.6254 MB / 0.6008 GB, free: 9.957 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6912, allocations: 357.9 kB / 0.6011 GB, free: 9.602 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003202/0.6944, allocations: 1.744 MB / 0.6028 GB, free: 7.855 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00383/0.6983, allocations: 2.262 MB / 0.605 GB, free: 5.441 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006563/0.7049, allocations: 4.329 MB / 0.6093 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/0.7049, allocations: 4.75 kB / 0.6093 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007608/0.7125, allocations: 4.586 MB / 0.6137 GB, free: 12.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.7126, allocations: 8 kB / 0.6137 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.344e-05/0.7126, allocations: 18.2 kB / 0.6138 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.54e-05/0.7127, allocations: 28.75 kB / 0.6138 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003555/0.7163, allocations: 0.7995 MB / 0.6146 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.815e-05/0.7163, allocations: 27.94 kB / 0.6146 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/0.719, allocations: 428.5 kB / 0.615 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003533/0.7193, allocations: 140 kB / 0.6151 GB, free: 10.88 MB / 458.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[11],fog[10],fog[9],fog[8],fog[7],fog[6],fog[5],fog[4],fog[3],fog[2],fog[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001464/0.7208, allocations: 0.766 MB / 0.6159 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007309/0.7216, allocations: 209.8 kB / 0.6161 GB, free: 9.895 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009422/0.731, allocations: 5.167 MB / 0.6211 GB, free: 4.691 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/0.731, allocations: 43.94 kB / 0.6212 GB, free: 4.648 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.7311, allocations: 3.984 kB / 0.6212 GB, free: 4.645 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.423e-05/0.7311, allocations: 19.92 kB / 0.6212 GB, free: 4.625 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005399/0.7365, allocations: 2.822 MB / 0.624 GB, free: 1.852 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/0.7366, allocations: 3.938 kB / 0.624 GB, free: 1.848 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003379/0.74, allocations: 0.7334 MB / 0.6247 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.453e-05/0.74, allocations: 12 kB / 0.6247 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003069/0.7403, allocations: 91.97 kB / 0.6248 GB, free: 1.012 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.489e-05/0.7404, allocations: 15.94 kB / 0.6248 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7404, allocations: 0 / 0.6248 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01886/0.7593, allocations: 11.85 MB / 0.6364 GB, free: 4.973 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006861/0.76, allocations: 321.9 kB / 0.6367 GB, free: 4.637 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006738/0.7607, allocations: 75.94 kB / 0.6367 GB, free: 4.562 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003547/0.7642, allocations: 299.4 kB / 0.637 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008181/0.7651, allocations: 314.9 kB / 0.6373 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006241/0.7657, allocations: 175.9 kB / 0.6375 GB, free: 3.789 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009473/0.7667, allocations: 0.6863 MB / 0.6382 GB, free: 3.109 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7667, allocations: 0 / 0.6382 GB, free: 3.109 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003477/0.7702, allocations: 1.183 MB / 0.6393 GB, free: 1.926 MB / 474.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00149/0.7717, allocations: 449 kB / 0.6398 GB, free: 1.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007447/0.7791, allocations: 4.282 MB / 0.6439 GB, free: 13.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/0.7792, allocations: 9 kB / 0.6439 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003821/0.783, allocations: 2.259 MB / 0.6461 GB, free: 10.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007568/0.7906, allocations: 1.223 MB / 0.6473 GB, free: 9.719 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/0.8078, allocations: 9.735 MB / 0.6569 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001864/0.8097, allocations: 1.96 MB / 0.6588 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007353/0.817, allocations: 1.771 MB / 0.6605 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/0.8188, allocations: 291.3 kB / 0.6608 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of SimCode: time 9.82e-07/0.8188, allocations: 0 / 0.6608 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of Templates: time 0.3903/1.209, allocations: 62.66 MB / 0.722 GB, free: 210.6 MB / 0.5105 GB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches