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.001963/0.001963, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.002315/0.002315, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.509/1.509, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001596/0.001596, allocations: 47.92 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09471/0.0963, allocations: 53.35 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3801/0.4764, allocations: 155.2 MB / 0.5684 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.4777, allocations: 0.6994 MB / 0.569 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.168e-05/0.4777, allocations: 7.938 kB / 0.569 GB, free: 4.203 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.4781, allocations: 87.42 kB / 0.5691 GB, free: 4.117 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005956/0.4787, allocations: 290.7 kB / 0.5694 GB, free: 3.832 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00318/0.4819, allocations: 1.125 MB / 0.5705 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005435/0.4873, allocations: 5.597 MB / 0.576 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.4876, allocations: 200 kB / 0.5762 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003327/0.491, allocations: 2.257 MB / 0.5784 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003067/0.494, allocations: 2.05 MB / 0.5804 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005672/0.4946, allocations: 236 kB / 0.5806 GB, free: 8.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.4983, allocations: 1.806 MB / 0.5824 GB, free: 6.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001404/0.4997, allocations: 1.231 MB / 0.5836 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.5019, allocations: 1.561 MB / 0.5851 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005815/0.5078, allocations: 4.576 MB / 0.5896 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5078, allocations: 0 / 0.5896 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5078, allocations: 0 / 0.5896 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.808e-05/0.5078, allocations: 0 / 0.5896 GB, free: 15.13 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.009664/0.5175, allocations: 3.557 MB / 0.593 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.5175, allocations: 12.03 kB / 0.593 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.5194, allocations: 331.6 kB / 0.5934 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/0.5223, allocations: 1.343 MB / 0.5947 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.5224, allocations: 184.9 kB / 0.5948 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004344/0.5228, allocations: 248 kB / 0.5951 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006864/0.5297, allocations: 3.815 MB / 0.5988 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/0.5298, allocations: 0 / 0.5988 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003792/0.5301, allocations: 116 kB / 0.5989 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/0.5302, allocations: 56 kB / 0.599 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.541, allocations: 5.994 MB / 0.6048 GB, free: 15.31 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.02238/0.5634, allocations: 11.22 MB / 0.6158 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1856/0.7491, allocations: 4.784 MB / 0.6204 GB, free: 177.4 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003757/0.7528, allocations: 2.239 MB / 0.6226 GB, free: 177.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005849/0.7534, allocations: 437.8 kB / 0.623 GB, free: 176.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.229e-05/0.7535, allocations: 94 kB / 0.6231 GB, free: 176.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=390): time 5.511e-06/0.7535, allocations: 0 / 0.6231 GB, free: 176.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=390): time 0.01048/0.7639, allocations: 5.83 MB / 0.6288 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.764, allocations: 93.11 kB / 0.6289 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.7651, allocations: 0.8679 MB / 0.6298 GB, free: 174.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004021/0.7655, allocations: 105.4 kB / 0.6299 GB, free: 174.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.7658, allocations: 0.5259 MB / 0.6304 GB, free: 174.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008987/0.7667, allocations: 1.378 MB / 0.6317 GB, free: 173.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009326/0.7677, allocations: 0.6233 MB / 0.6323 GB, free: 173.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.7678, allocations: 356.5 kB / 0.6327 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002797/0.7706, allocations: 1.746 MB / 0.6344 GB, free: 172.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003219/0.7738, allocations: 2.259 MB / 0.6366 GB, free: 171.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006341/0.7801, allocations: 4.334 MB / 0.6408 GB, free: 169.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.7801, allocations: 5.562 kB / 0.6408 GB, free: 169.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007199/0.7873, allocations: 4.595 MB / 0.6453 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.7874, allocations: 9.312 kB / 0.6453 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.7874, allocations: 12.28 kB / 0.6453 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.392e-05/0.7874, allocations: 27.84 kB / 0.6454 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003538/0.791, allocations: 0.7928 MB / 0.6461 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.07e-05/0.791, allocations: 35.23 kB / 0.6462 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/0.7932, allocations: 370.8 kB / 0.6465 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/0.7935, allocations: 149.8 kB / 0.6467 GB, free: 168.2 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.001158/0.7947, allocations: 0.759 MB / 0.6474 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005265/0.7952, allocations: 219.1 kB / 0.6476 GB, free: 167.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007577/0.8028, allocations: 5.166 MB / 0.6527 GB, free: 165 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/0.8028, allocations: 43.38 kB / 0.6527 GB, free: 165 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.8028, allocations: 1.562 kB / 0.6527 GB, free: 165 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.14e-05/0.8028, allocations: 19.92 kB / 0.6527 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.8063, allocations: 2.833 MB / 0.6555 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.8063, allocations: 0 / 0.6555 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/0.8095, allocations: 0.7333 MB / 0.6562 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.051e-05/0.8095, allocations: 15.89 kB / 0.6562 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002031/0.8097, allocations: 97.95 kB / 0.6563 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.329e-05/0.8097, allocations: 20.5 kB / 0.6563 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8097, allocations: 0 / 0.6563 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008579/0.8183, allocations: 7.223 MB / 0.6634 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004284/0.8187, allocations: 330.6 kB / 0.6637 GB, free: 154.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003622/0.8191, allocations: 76.75 kB / 0.6638 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/0.822, allocations: 226 kB / 0.664 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005313/0.8225, allocations: 310.2 kB / 0.6643 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003281/0.8228, allocations: 183.9 kB / 0.6645 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006551/0.8235, allocations: 0.6824 MB / 0.6651 GB, free: 153 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.8235, allocations: 0 / 0.6651 GB, free: 153 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002318/0.8258, allocations: 1.101 MB / 0.6662 GB, free: 151.9 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.0009011/0.8267, allocations: 436.2 kB / 0.6666 GB, free: 151.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005497/0.8322, allocations: 4.115 MB / 0.6706 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.8322, allocations: 9 kB / 0.6706 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00254/0.8348, allocations: 2.111 MB / 0.6727 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.005054/0.8398, allocations: 1.263 MB / 0.6739 GB, free: 144 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00965/0.8495, allocations: 6.715 MB / 0.6805 GB, free: 137.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008411/0.8503, allocations: 1.841 MB / 0.6823 GB, free: 135.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003863/0.8542, allocations: 1.771 MB / 0.684 GB, free: 133.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009638/0.8551, allocations: 295.3 kB / 0.6843 GB, free: 133.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.8551, allocations: 0 / 0.6843 GB, free: 133.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.07234/0.9275, allocations: 64.94 MB / 0.7477 GB, free: 68.8 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/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: 7.828152984380722]