Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00195/0.00195, allocations: 101.2 kB / 21.93 MB, free: 5.195 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.002529/0.002529, allocations: 202.7 kB / 25.22 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 207.7 MB / 236.1 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 55.94 kB / 348.4 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2666, allocations: 49.15 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1735/0.4401, allocations: 131.7 MB / 0.5169 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.4418, allocations: 0.8905 MB / 0.5178 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.732e-05/0.4419, allocations: 0 / 0.5178 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.4424, allocations: 75.5 kB / 0.5179 GB, free: 14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006812/0.443, allocations: 290.7 kB / 0.5181 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004092/0.4471, allocations: 1.335 MB / 0.5195 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00572/0.4529, allocations: 5.645 MB / 0.525 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.4531, allocations: 104.1 kB / 0.5251 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004285/0.4574, allocations: 2.296 MB / 0.5273 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004205/0.4616, allocations: 2.213 MB / 0.5295 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008207/0.4624, allocations: 236 kB / 0.5297 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/0.4667, allocations: 1.669 MB / 0.5313 GB, free: 172 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.4684, allocations: 1.232 MB / 0.5325 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002654/0.471, allocations: 1.41 MB / 0.5339 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006611/0.4776, allocations: 4.633 MB / 0.5384 GB, free: 8.875 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4776, allocations: 0 / 0.5384 GB, free: 8.875 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4776, allocations: 0 / 0.5384 GB, free: 8.875 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.608e-05/0.4777, allocations: 0 / 0.5384 GB, free: 8.875 MB / 462.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.009597/0.4873, allocations: 3.493 MB / 0.5418 GB, free: 5.332 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4874, allocations: 12.03 kB / 0.5418 GB, free: 5.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.4892, allocations: 339.4 kB / 0.5422 GB, free: 4.988 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.4924, allocations: 1.333 MB / 0.5435 GB, free: 3.629 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.4926, allocations: 184.9 kB / 0.5437 GB, free: 3.445 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004673/0.4931, allocations: 243.9 kB / 0.5439 GB, free: 3.207 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008687/0.5018, allocations: 5.939 MB / 0.5497 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.818e-05/0.5018, allocations: 0 / 0.5497 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004515/0.5023, allocations: 120 kB / 0.5498 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/0.5023, allocations: 56 kB / 0.5499 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009658/0.512, allocations: 5.873 MB / 0.5556 GB, free: 6.637 MB / 478.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.2108/0.7228, allocations: 7.298 MB / 0.5627 GB, free: 158.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008138/0.7309, allocations: 4.775 MB / 0.5674 GB, free: 157 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003987/0.7349, allocations: 2.24 MB / 0.5696 GB, free: 156.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004919/0.7354, allocations: 111.8 kB / 0.5697 GB, free: 156.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.7355, allocations: 99.22 kB / 0.5698 GB, free: 156.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.563e-06/0.7356, allocations: 0 / 0.5698 GB, free: 156.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01022/0.7458, allocations: 5.807 MB / 0.5754 GB, free: 154.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.7458, allocations: 91.69 kB / 0.5755 GB, free: 154.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008043/0.7466, allocations: 0.6359 MB / 0.5761 GB, free: 154.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005605/0.7472, allocations: 105.6 kB / 0.5762 GB, free: 154.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.7475, allocations: 0.5529 MB / 0.5768 GB, free: 154.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001014/0.7485, allocations: 1.369 MB / 0.5781 GB, free: 153.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009308/0.7494, allocations: 0.6229 MB / 0.5787 GB, free: 152.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.902e-05/0.7495, allocations: 339.5 kB / 0.5791 GB, free: 152.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002608/0.7521, allocations: 1.747 MB / 0.5808 GB, free: 151.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/0.7548, allocations: 2.26 MB / 0.583 GB, free: 150.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005048/0.7599, allocations: 4.329 MB / 0.5872 GB, free: 148 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.7599, allocations: 3.844 kB / 0.5872 GB, free: 148 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006239/0.7661, allocations: 4.579 MB / 0.5917 GB, free: 143.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.7662, allocations: 12 kB / 0.5917 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.7662, allocations: 14.28 kB / 0.5917 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.194e-05/0.7662, allocations: 24 kB / 0.5917 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/0.7694, allocations: 0.7873 MB / 0.5925 GB, free: 142.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.966e-05/0.7695, allocations: 42.89 kB / 0.5925 GB, free: 142.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.7716, allocations: 339.9 kB / 0.5929 GB, free: 142.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002703/0.7719, allocations: 147.9 kB / 0.593 GB, free: 142.3 MB / 478.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.001357/0.7733, allocations: 0.7582 MB / 0.5937 GB, free: 141.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005239/0.7738, allocations: 198.9 kB / 0.5939 GB, free: 141.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007022/0.7808, allocations: 5.156 MB / 0.599 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.7808, allocations: 40.88 kB / 0.599 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.7808, allocations: 3.75 kB / 0.599 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.02e-05/0.7809, allocations: 19.92 kB / 0.599 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.7844, allocations: 2.204 MB / 0.6012 GB, free: 133.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.7844, allocations: 7.984 kB / 0.6012 GB, free: 133.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003058/0.7874, allocations: 0.7254 MB / 0.6019 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-05/0.7874, allocations: 23.92 kB / 0.6019 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002179/0.7877, allocations: 87.97 kB / 0.602 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-05/0.7877, allocations: 16 kB / 0.602 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.7877, allocations: 7.922 kB / 0.602 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008956/0.7966, allocations: 7.203 MB / 0.6091 GB, free: 125.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006097/0.7972, allocations: 225.9 kB / 0.6093 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004372/0.7977, allocations: 91.91 kB / 0.6094 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002716/0.8004, allocations: 218.3 kB / 0.6096 GB, free: 125.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005168/0.8009, allocations: 333.6 kB / 0.6099 GB, free: 125 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003717/0.8013, allocations: 179.9 kB / 0.6101 GB, free: 124.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005281/0.8018, allocations: 0.4948 MB / 0.6105 GB, free: 124.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8018, allocations: 0 / 0.6105 GB, free: 124.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00235/0.8042, allocations: 1.12 MB / 0.6116 GB, free: 123.2 MB / 478.1 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.00107/0.8052, allocations: 472.8 kB / 0.6121 GB, free: 122.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00533/0.8106, allocations: 4.119 MB / 0.6161 GB, free: 118.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.8106, allocations: 5 kB / 0.6161 GB, free: 118.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00245/0.813, allocations: 2.111 MB / 0.6182 GB, free: 116.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004372/0.8174, allocations: 1.037 MB / 0.6192 GB, free: 115.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.8274, allocations: 6.767 MB / 0.6258 GB, free: 108.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008691/0.8283, allocations: 1.267 MB / 0.627 GB, free: 107.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/0.8298, allocations: 319.3 kB / 0.6273 GB, free: 107.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.343e-06/0.8298, allocations: 0 / 0.6273 GB, free: 107.1 MB / 478.1 MB Notification: Performance of Templates: time 0.05635/0.8862, allocations: 45.64 MB / 0.6719 GB, free: 61.29 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 11.524852030910552]