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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 98.52 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009884/0.0009885, allocations: 192.1 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 55.86 kB / 280.6 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07589/0.0771, allocations: 46.62 MB / 327.3 MB, free: 4.496 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.29/0.3672, allocations: 153.1 MB / 480.4 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.3687, allocations: 0.9466 MB / 481.3 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.3689, allocations: 4 kB / 481.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.3693, allocations: 75.48 kB / 481.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006163/0.3699, allocations: 289.9 kB / 481.7 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.373, allocations: 1.303 MB / 483 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004539/0.3776, allocations: 5.605 MB / 488.6 MB, free: 5.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003635/0.378, allocations: 263.3 kB / 488.9 MB, free: 5.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/0.3811, allocations: 2.164 MB / 491 MB, free: 3.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.384, allocations: 1.967 MB / 493 MB, free: 1.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009915/0.385, allocations: 236 kB / 493.2 MB, free: 1.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004197/0.3893, allocations: 1.845 MB / 495.1 MB, free: 15.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001786/0.3911, allocations: 1.231 MB / 496.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00333/0.3944, allocations: 1.561 MB / 497.9 MB, free: 12.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00678/0.4012, allocations: 4.59 MB / 0.4907 GB, free: 7.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.4012, allocations: 8 kB / 0.4907 GB, free: 7.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4013, allocations: 0 / 0.4907 GB, free: 7.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001733/0.4014, allocations: 0 / 0.4907 GB, free: 7.773 MB / 398.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.01131/0.4127, allocations: 3.511 MB / 0.4941 GB, free: 4.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.4128, allocations: 12.03 kB / 0.4941 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.4154, allocations: 322.2 kB / 0.4944 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/0.4181, allocations: 1.328 MB / 0.4957 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.4183, allocations: 180.7 kB / 0.4959 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000427/0.4187, allocations: 240 kB / 0.4961 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006194/0.4249, allocations: 3.823 MB / 0.4999 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.425, allocations: 0 / 0.4999 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003644/0.4253, allocations: 116 kB / 0.5 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.802e-05/0.4254, allocations: 60 kB / 0.5 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008413/0.4338, allocations: 5.99 MB / 0.5059 GB, free: 8.039 MB / 414.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.01892/0.4528, allocations: 11.24 MB / 0.5168 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006648/0.4594, allocations: 5.042 MB / 0.5218 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003279/0.4627, allocations: 2.404 MB / 0.5241 GB, free: 4.477 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005256/0.4633, allocations: 443.3 kB / 0.5245 GB, free: 3.969 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.167e-05/0.4634, allocations: 90.62 kB / 0.5246 GB, free: 3.871 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 5.099e-06/0.4634, allocations: 4 kB / 0.5246 GB, free: 3.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.009153/0.4726, allocations: 5.808 MB / 0.5303 GB, free: 14.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.4727, allocations: 98.41 kB / 0.5304 GB, free: 13.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009952/0.4737, allocations: 0.8751 MB / 0.5313 GB, free: 13.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003501/0.474, allocations: 101.7 kB / 0.5313 GB, free: 12.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.4744, allocations: 0.5188 MB / 0.5319 GB, free: 12.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.4754, allocations: 1.301 MB / 0.5331 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008457/0.4762, allocations: 0.6293 MB / 0.5337 GB, free: 10.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4764, allocations: 357.9 kB / 0.5341 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/0.4789, allocations: 1.744 MB / 0.5358 GB, free: 8.352 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002944/0.4819, allocations: 2.254 MB / 0.538 GB, free: 5.945 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006013/0.4879, allocations: 4.337 MB / 0.5422 GB, free: 1.434 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.4879, allocations: 4 kB / 0.5422 GB, free: 1.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.1391/0.6271, allocations: 4.58 MB / 0.5467 GB, free: 176.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.6271, allocations: 9.906 kB / 0.5467 GB, free: 176.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.6271, allocations: 11.53 kB / 0.5467 GB, free: 176.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.788e-05/0.6272, allocations: 26.22 kB / 0.5467 GB, free: 176.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003282/0.6305, allocations: 0.7908 MB / 0.5475 GB, free: 176.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-05/0.6305, allocations: 41.92 kB / 0.5476 GB, free: 176.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.6326, allocations: 360.5 kB / 0.5479 GB, free: 176.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/0.6328, allocations: 143.1 kB / 0.548 GB, free: 176.4 MB / 446.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.001156/0.634, allocations: 0.757 MB / 0.5488 GB, free: 176.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005071/0.6345, allocations: 208.1 kB / 0.549 GB, free: 176.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007694/0.6422, allocations: 5.18 MB / 0.554 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/0.6423, allocations: 40.94 kB / 0.5541 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.6423, allocations: 3.75 kB / 0.5541 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.13e-05/0.6423, allocations: 22.72 kB / 0.5541 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003345/0.6457, allocations: 2.82 MB / 0.5569 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.6457, allocations: 0 / 0.5569 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002909/0.6486, allocations: 0.7249 MB / 0.5576 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.636e-05/0.6486, allocations: 22.62 kB / 0.5576 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.6488, allocations: 93.14 kB / 0.5577 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.6488, allocations: 12.94 kB / 0.5577 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6488, allocations: 0 / 0.5577 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007692/0.6565, allocations: 7.228 MB / 0.5647 GB, free: 169.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.6569, allocations: 318 kB / 0.565 GB, free: 169.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000313/0.6572, allocations: 87.83 kB / 0.5651 GB, free: 169.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/0.6597, allocations: 222.3 kB / 0.5653 GB, free: 168.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004827/0.6601, allocations: 314.8 kB / 0.5656 GB, free: 168.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002914/0.6604, allocations: 179.9 kB / 0.5658 GB, free: 168.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000655/0.6611, allocations: 0.6824 MB / 0.5665 GB, free: 167.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6611, allocations: 0 / 0.5665 GB, free: 167.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002162/0.6633, allocations: 1.088 MB / 0.5675 GB, free: 166.7 MB / 446.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.001002/0.6643, allocations: 472.3 kB / 0.568 GB, free: 166.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0211/0.6854, allocations: 15.28 MB / 0.5829 GB, free: 151.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.6855, allocations: 5 kB / 0.5829 GB, free: 151.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.6878, allocations: 2.263 MB / 0.5851 GB, free: 148.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004888/0.6927, allocations: 1.244 MB / 0.5863 GB, free: 147.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009039/0.7018, allocations: 6.698 MB / 0.5929 GB, free: 140.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008237/0.7026, allocations: 1.852 MB / 0.5947 GB, free: 139 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004213/0.7068, allocations: 1.756 MB / 0.5964 GB, free: 137.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000862/0.7077, allocations: 296.1 kB / 0.5967 GB, free: 137 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.7077, allocations: 0 / 0.5967 GB, free: 137 MB / 446.1 MB Notification: Performance of Templates: time 0.06782/0.7755, allocations: 63.79 MB / 0.659 GB, free: 73.09 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches