Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002387/0.002387, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.1.0_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.1.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 47.92 kB / 374.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1058, allocations: 53.34 MB / 427.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3791/0.4849, allocations: 155.2 MB / 0.569 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.4861, allocations: 0.6965 MB / 0.5697 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.471e-05/0.4862, allocations: 7.938 kB / 0.5697 GB, free: 4.23 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.4866, allocations: 83.48 kB / 0.5698 GB, free: 4.148 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006243/0.4872, allocations: 290.7 kB / 0.5701 GB, free: 3.863 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003176/0.4904, allocations: 1.133 MB / 0.5712 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005415/0.4958, allocations: 5.601 MB / 0.5766 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003126/0.4961, allocations: 192 kB / 0.5768 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003559/0.4997, allocations: 2.257 MB / 0.579 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003589/0.5033, allocations: 2.053 MB / 0.581 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008672/0.5041, allocations: 236 kB / 0.5813 GB, free: 8.355 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004467/0.5086, allocations: 1.81 MB / 0.583 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001768/0.5104, allocations: 1.227 MB / 0.5842 GB, free: 5.312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002791/0.5132, allocations: 1.565 MB / 0.5858 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006654/0.5198, allocations: 4.576 MB / 0.5902 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5198, allocations: 0 / 0.5902 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5198, allocations: 0 / 0.5902 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001007/0.5199, allocations: 0 / 0.5902 GB, free: 15.15 MB / 0.4981 GB 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.009953/0.5299, allocations: 3.557 MB / 0.5937 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.5299, allocations: 8.031 kB / 0.5937 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.5319, allocations: 339.6 kB / 0.594 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/0.5348, allocations: 1.343 MB / 0.5953 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.535, allocations: 176.9 kB / 0.5955 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004914/0.5355, allocations: 244 kB / 0.5957 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007182/0.5427, allocations: 3.819 MB / 0.5995 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.493e-05/0.5427, allocations: 3.984 kB / 0.5995 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004598/0.5432, allocations: 116 kB / 0.5996 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.498e-05/0.5432, allocations: 60 kB / 0.5996 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.5535, allocations: 5.982 MB / 0.6055 GB, free: 15.34 MB / 0.5137 GB 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.02374/0.5772, allocations: 11.22 MB / 0.6164 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1971/0.7743, allocations: 4.781 MB / 0.6211 GB, free: 177.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004027/0.7783, allocations: 2.239 MB / 0.6233 GB, free: 177.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006392/0.779, allocations: 439.6 kB / 0.6237 GB, free: 176.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.237e-05/0.7791, allocations: 95.98 kB / 0.6238 GB, free: 176.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=390): time 5.861e-06/0.7791, allocations: 0.5625 kB / 0.6238 GB, free: 176.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=390): time 0.01162/0.7907, allocations: 5.826 MB / 0.6295 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.7908, allocations: 92.06 kB / 0.6296 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.792, allocations: 0.874 MB / 0.6304 GB, free: 174.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005822/0.7925, allocations: 99.77 kB / 0.6305 GB, free: 174.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.7928, allocations: 0.5345 MB / 0.6311 GB, free: 174.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001204/0.794, allocations: 1.368 MB / 0.6324 GB, free: 173.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009713/0.795, allocations: 0.6278 MB / 0.633 GB, free: 173.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.7951, allocations: 357 kB / 0.6333 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002948/0.7981, allocations: 1.747 MB / 0.6351 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003402/0.8015, allocations: 2.259 MB / 0.6373 GB, free: 171.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006864/0.8083, allocations: 4.331 MB / 0.6415 GB, free: 169.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/0.8084, allocations: 3.469 kB / 0.6415 GB, free: 169.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00917/0.8175, allocations: 4.595 MB / 0.646 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.8176, allocations: 12.75 kB / 0.646 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/0.8176, allocations: 11.91 kB / 0.646 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-05/0.8177, allocations: 29.91 kB / 0.646 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003869/0.8215, allocations: 0.79 MB / 0.6468 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.488e-05/0.8216, allocations: 36.52 kB / 0.6468 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/0.8244, allocations: 371.1 kB / 0.6472 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006807/0.825, allocations: 145.2 kB / 0.6473 GB, free: 168.3 MB / 0.5137 GB 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.001947/0.827, allocations: 0.764 MB / 0.6481 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00092/0.8279, allocations: 218.9 kB / 0.6483 GB, free: 167.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009082/0.837, allocations: 5.165 MB / 0.6533 GB, free: 165 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/0.837, allocations: 42.41 kB / 0.6534 GB, free: 165 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/0.837, allocations: 0 / 0.6534 GB, free: 165 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.772e-05/0.8371, allocations: 23.67 kB / 0.6534 GB, free: 165 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004441/0.8415, allocations: 2.832 MB / 0.6562 GB, free: 163 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.44e-05/0.8416, allocations: 0.625 kB / 0.6562 GB, free: 163 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003455/0.845, allocations: 0.7328 MB / 0.6569 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.856e-05/0.8451, allocations: 12 kB / 0.6569 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005292/0.8456, allocations: 95.95 kB / 0.657 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-05/0.8456, allocations: 17.62 kB / 0.657 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8456, allocations: 3.25 kB / 0.657 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009915/0.8556, allocations: 7.224 MB / 0.6641 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004831/0.856, allocations: 327.6 kB / 0.6644 GB, free: 154.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004943/0.8565, allocations: 75.98 kB / 0.6644 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003105/0.8596, allocations: 227.5 kB / 0.6647 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006177/0.8603, allocations: 310.9 kB / 0.6649 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004611/0.8607, allocations: 183.8 kB / 0.6651 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007867/0.8615, allocations: 0.6824 MB / 0.6658 GB, free: 153.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8615, allocations: 0 / 0.6658 GB, free: 153.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002623/0.8641, allocations: 1.109 MB / 0.6669 GB, free: 152 MB / 0.5137 GB 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.001182/0.8653, allocations: 431.6 kB / 0.6673 GB, free: 151.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006389/0.8717, allocations: 4.121 MB / 0.6713 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/0.8717, allocations: 8.406 kB / 0.6713 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003156/0.8749, allocations: 2.103 MB / 0.6734 GB, free: 145.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006297/0.8812, allocations: 1.257 MB / 0.6746 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.8927, allocations: 6.812 MB / 0.6813 GB, free: 137.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.8938, allocations: 1.853 MB / 0.6831 GB, free: 135.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/0.8956, allocations: 331.3 kB / 0.6834 GB, free: 135 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/0.8956, allocations: 3.938 kB / 0.6834 GB, free: 135 MB / 0.5137 GB Notification: Performance of Templates: time 0.05488/0.9504, allocations: 47.23 MB / 0.7295 GB, free: 87.93 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.3719327589788]