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.001936/0.001936, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002398/0.002398, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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.508/1.508, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 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 1.593e-06/1.593e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.817e-05, allocations: 6.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2818/0.2818, allocations: 130.7 MB / 398 MB, free: 5.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.2835, allocations: 0.6662 MB / 398.6 MB, free: 5.277 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.2837, allocations: 4 kB / 398.6 MB, free: 5.273 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004434/0.2841, allocations: 74.19 kB / 398.7 MB, free: 5.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007488/0.2849, allocations: 309.3 kB / 399 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003194/0.288, allocations: 1.148 MB / 400.2 MB, free: 3.758 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006361/0.2944, allocations: 5.683 MB / 405.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.2947, allocations: 100.2 kB / 405.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005344/0.3, allocations: 2.968 MB / 408.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003796/0.3038, allocations: 2.101 MB / 411 MB, free: 8.852 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000676/0.3045, allocations: 240 kB / 411.2 MB, free: 8.617 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003635/0.3081, allocations: 1.489 MB / 412.7 MB, free: 7.125 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001609/0.3097, allocations: 1.27 MB / 414 MB, free: 5.852 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002385/0.3121, allocations: 1.267 MB / 415.3 MB, free: 4.582 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007537/0.3197, allocations: 4.956 MB / 420.2 MB, free: 15.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3197, allocations: 0 / 420.2 MB, free: 15.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3197, allocations: 4 kB / 420.2 MB, free: 15.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001162/0.3198, allocations: 0 / 420.2 MB, free: 15.61 MB / 378.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.01026/0.33, allocations: 3.443 MB / 423.7 MB, free: 12.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3301, allocations: 8.922 kB / 423.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/0.3325, allocations: 0.6427 MB / 424.3 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/0.3357, allocations: 1.344 MB / 425.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.3358, allocations: 184.8 kB / 425.9 MB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000604/0.3364, allocations: 280 kB / 426.1 MB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008909/0.3454, allocations: 5.943 MB / 432.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/0.3454, allocations: 0 / 432.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004068/0.3458, allocations: 112 kB / 432.2 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/0.3459, allocations: 60 kB / 432.2 MB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1171/0.463, allocations: 5.869 MB / 438.1 MB, free: 139.7 MB / 378.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.0177/0.4807, allocations: 7.34 MB / 445.4 MB, free: 137.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005383/0.4861, allocations: 4.772 MB / 450.2 MB, free: 135.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002542/0.4886, allocations: 2.244 MB / 452.5 MB, free: 133.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003756/0.489, allocations: 135 kB / 452.6 MB, free: 133.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/0.4891, allocations: 93.66 kB / 452.7 MB, free: 133.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=390): time 6.181e-06/0.4891, allocations: 0 / 452.7 MB, free: 133.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=390): time 0.007862/0.4969, allocations: 5.922 MB / 458.6 MB, free: 127.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.497, allocations: 93.12 kB / 458.7 MB, free: 127.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005746/0.4976, allocations: 0.6425 MB / 459.3 MB, free: 126.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002832/0.4978, allocations: 97.7 kB / 459.4 MB, free: 126.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.498, allocations: 0.5498 MB / 460 MB, free: 125.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006728/0.4987, allocations: 1.354 MB / 461.3 MB, free: 124.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007806/0.4995, allocations: 0.6288 MB / 462 MB, free: 124.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.4995, allocations: 334 kB / 462.3 MB, free: 123.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/0.5017, allocations: 1.747 MB / 464 MB, free: 122 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002449/0.5042, allocations: 2.262 MB / 466.3 MB, free: 119.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005025/0.5092, allocations: 4.322 MB / 470.6 MB, free: 115.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.5092, allocations: 4 kB / 470.6 MB, free: 115.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006254/0.5155, allocations: 4.722 MB / 475.4 MB, free: 110.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.5155, allocations: 11.94 kB / 475.4 MB, free: 110.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.5155, allocations: 15.72 kB / 475.4 MB, free: 110.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/0.5156, allocations: 24 kB / 475.4 MB, free: 110.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0034/0.519, allocations: 0.7956 MB / 476.2 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-05/0.519, allocations: 31.94 kB / 476.2 MB, free: 109.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.5212, allocations: 346.7 kB / 476.6 MB, free: 109.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002751/0.5215, allocations: 143.9 kB / 476.7 MB, free: 109.1 MB / 378.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.001186/0.5227, allocations: 0.7626 MB / 477.5 MB, free: 108.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007103/0.5234, allocations: 318.9 kB / 477.8 MB, free: 108 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007896/0.5313, allocations: 5.158 MB / 482.9 MB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/0.5313, allocations: 40 kB / 483 MB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.5313, allocations: 6.344 kB / 483 MB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.478e-05/0.5313, allocations: 19.92 kB / 483 MB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/0.5348, allocations: 2.197 MB / 485.2 MB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/0.5348, allocations: 0 / 485.2 MB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003256/0.538, allocations: 0.7294 MB / 485.9 MB, free: 99.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.788e-05/0.538, allocations: 12 kB / 485.9 MB, free: 99.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002366/0.5383, allocations: 95.95 kB / 486 MB, free: 99.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.409e-05/0.5383, allocations: 15.94 kB / 486.1 MB, free: 99.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.5383, allocations: 3.562 kB / 486.1 MB, free: 99.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008896/0.5472, allocations: 7.34 MB / 493.4 MB, free: 92.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.5476, allocations: 233.9 kB / 493.6 MB, free: 92.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/0.5479, allocations: 79.89 kB / 493.7 MB, free: 92.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/0.5506, allocations: 231.2 kB / 493.9 MB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005623/0.5512, allocations: 326.8 kB / 494.3 MB, free: 91.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003367/0.5515, allocations: 175.9 kB / 494.4 MB, free: 91.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004794/0.552, allocations: 0.4987 MB / 494.9 MB, free: 90.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.552, allocations: 0.875 kB / 494.9 MB, free: 90.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00203/0.554, allocations: 1.108 MB / 496 MB, free: 89.73 MB / 378.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.001005/0.555, allocations: 463.8 kB / 496.5 MB, free: 89.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005358/0.5604, allocations: 4.121 MB / 0.4889 GB, free: 85.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.5604, allocations: 9 kB / 0.4889 GB, free: 85.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00251/0.5629, allocations: 2.108 MB / 0.4909 GB, free: 83.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00411/0.567, allocations: 1.117 MB / 0.492 GB, free: 81.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009161/0.5762, allocations: 6.336 MB / 0.4982 GB, free: 75.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008231/0.577, allocations: 1.267 MB / 0.4995 GB, free: 74.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003945/0.581, allocations: 1.738 MB / 0.5012 GB, free: 72.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009949/0.5819, allocations: 284.4 kB / 0.5014 GB, free: 72.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5819, allocations: 0 / 0.5014 GB, free: 72.21 MB / 378.7 MB Notification: Performance of Templates: time 0.07125/0.6532, allocations: 58.66 MB / 0.5587 GB, free: 14.25 MB / 378.7 MB " [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.780254997895099]