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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 191.1 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 47.92 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2261, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3732/0.5993, allocations: 130.6 MB / 0.5407 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.6005, allocations: 0.6639 MB / 0.5414 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.6006, allocations: 2.75 kB / 0.5414 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.601, allocations: 78.44 kB / 0.5414 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007294/0.6017, allocations: 295.9 kB / 0.5417 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.6044, allocations: 1.13 MB / 0.5428 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003756/0.6082, allocations: 5.648 MB / 0.5483 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.6084, allocations: 98.19 kB / 0.5484 GB, free: 1.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.6116, allocations: 2.299 MB / 0.5507 GB, free: 1.172 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003644/0.6152, allocations: 2.213 MB / 0.5528 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001023/0.6162, allocations: 237.9 kB / 0.5531 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003391/0.6196, allocations: 1.478 MB / 0.5545 GB, free: 1.148 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.6207, allocations: 1.237 MB / 0.5557 GB, free: 1.141 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002022/0.6227, allocations: 1.413 MB / 0.5571 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003706/0.6264, allocations: 4.527 MB / 0.5615 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6264, allocations: 0 / 0.5615 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6264, allocations: 0 / 0.5615 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.883e-05/0.6265, allocations: 0 / 0.5615 GB, free: 0.6992 MB / 446.1 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.007801/0.6343, allocations: 3.473 MB / 0.5649 GB, free: 15.63 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.6343, allocations: 11.25 kB / 0.5649 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.6361, allocations: 338.8 kB / 0.5652 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/0.6393, allocations: 1.329 MB / 0.5665 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.6394, allocations: 181.7 kB / 0.5667 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003712/0.6398, allocations: 244 kB / 0.5669 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006417/0.6462, allocations: 5.938 MB / 0.5727 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.841e-05/0.6463, allocations: 7.344 kB / 0.5728 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003278/0.6466, allocations: 113.2 kB / 0.5729 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/0.6466, allocations: 59.22 kB / 0.5729 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007427/0.654, allocations: 5.873 MB / 0.5787 GB, free: 12.05 MB / 462.1 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.01768/0.6717, allocations: 7.289 MB / 0.5858 GB, free: 9.875 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007123/0.6788, allocations: 4.782 MB / 0.5904 GB, free: 6.453 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003634/0.6825, allocations: 2.24 MB / 0.5926 GB, free: 4.207 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004333/0.6829, allocations: 122.6 kB / 0.5927 GB, free: 4.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.683, allocations: 90.62 kB / 0.5928 GB, free: 3.992 MB / 462.1 MB Notification: Performance of pre-optimization done (n=390): time 6.612e-06/0.683, allocations: 0 / 0.5928 GB, free: 3.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=390): time 0.01037/0.6934, allocations: 5.808 MB / 0.5985 GB, free: 14.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.6935, allocations: 90.47 kB / 0.5986 GB, free: 14.06 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/0.6943, allocations: 0.6421 MB / 0.5992 GB, free: 13.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003842/0.6947, allocations: 101.7 kB / 0.5993 GB, free: 13.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/0.6952, allocations: 0.55 MB / 0.5999 GB, free: 12.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001296/0.6965, allocations: 1.371 MB / 0.6012 GB, free: 11.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009908/0.6975, allocations: 0.6255 MB / 0.6018 GB, free: 10.76 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.6976, allocations: 342.5 kB / 0.6021 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/0.7007, allocations: 1.744 MB / 0.6038 GB, free: 8.676 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003754/0.7044, allocations: 2.261 MB / 0.606 GB, free: 6.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00735/0.7118, allocations: 4.325 MB / 0.6103 GB, free: 1.812 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/0.7118, allocations: 4 kB / 0.6103 GB, free: 1.809 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008469/0.7203, allocations: 4.574 MB / 0.6147 GB, free: 13.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.7203, allocations: 8 kB / 0.6147 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/0.7203, allocations: 12.88 kB / 0.6148 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.081e-05/0.7204, allocations: 28 kB / 0.6148 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003782/0.7242, allocations: 0.7881 MB / 0.6155 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.665e-05/0.7242, allocations: 38.2 kB / 0.6156 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/0.7266, allocations: 345.8 kB / 0.6159 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003249/0.7269, allocations: 147.9 kB / 0.6161 GB, free: 11.97 MB / 494.1 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.001603/0.7286, allocations: 0.754 MB / 0.6168 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006338/0.7292, allocations: 198.9 kB / 0.617 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009546/0.7387, allocations: 5.157 MB / 0.622 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.766e-05/0.7388, allocations: 40 kB / 0.6221 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/0.7388, allocations: 5 kB / 0.6221 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.05e-05/0.7388, allocations: 19.92 kB / 0.6221 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004474/0.7433, allocations: 2.205 MB / 0.6242 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.7433, allocations: 3.188 kB / 0.6242 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003664/0.747, allocations: 0.7277 MB / 0.6249 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.858e-05/0.747, allocations: 12 kB / 0.625 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003253/0.7473, allocations: 91.16 kB / 0.625 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.871e-05/0.7474, allocations: 16 kB / 0.6251 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7474, allocations: 8 kB / 0.6251 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/0.76, allocations: 7.204 MB / 0.6321 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005734/0.7606, allocations: 229.9 kB / 0.6323 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005097/0.7611, allocations: 87.92 kB / 0.6324 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003121/0.7642, allocations: 223.8 kB / 0.6326 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007179/0.7649, allocations: 322.8 kB / 0.6329 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005571/0.7655, allocations: 195.7 kB / 0.6331 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007906/0.7663, allocations: 0.4948 MB / 0.6336 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.7663, allocations: 0 / 0.6336 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003105/0.7694, allocations: 1.119 MB / 0.6347 GB, free: 8.953 MB / 0.4981 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.001561/0.771, allocations: 438.5 kB / 0.6351 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008416/0.7794, allocations: 4.118 MB / 0.6391 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.896e-05/0.7794, allocations: 9 kB / 0.6391 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004192/0.7836, allocations: 2.107 MB / 0.6412 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005854/0.7894, allocations: 1.033 MB / 0.6422 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.8035, allocations: 6.659 MB / 0.6487 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/0.8051, allocations: 1.263 MB / 0.6499 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006045/0.8112, allocations: 1.737 MB / 0.6516 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/0.8127, allocations: 287.3 kB / 0.6519 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of SimCode: time 1.192e-06/0.8127, allocations: 3.938 kB / 0.6519 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of Templates: time 0.09724/0.9099, allocations: 62.58 MB / 0.713 GB, free: 9.797 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.988269543275237]