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.001107/0.001107, allocations: 110.6 kB / 17.73 MB, free: 5.328 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.001146/0.001146, allocations: 190.9 kB / 18.67 MB, free: 4.395 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.378/1.378, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001264/0.001265, allocations: 52.39 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09246/0.09373, allocations: 46.61 MB / 375.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3382/0.432, allocations: 153.1 MB / 0.5159 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.4336, allocations: 0.9525 MB / 0.5168 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.4338, allocations: 4 kB / 0.5168 GB, free: 5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.4342, allocations: 79.48 kB / 0.5169 GB, free: 4.922 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006173/0.4348, allocations: 290.7 kB / 0.5172 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003439/0.4383, allocations: 1.309 MB / 0.5184 GB, free: 3.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004656/0.4429, allocations: 5.605 MB / 0.5239 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.4432, allocations: 259.6 kB / 0.5242 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002863/0.4461, allocations: 2.227 MB / 0.5263 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/0.4489, allocations: 1.979 MB / 0.5283 GB, free: 9.211 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007189/0.4496, allocations: 236 kB / 0.5285 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003931/0.4535, allocations: 1.927 MB / 0.5304 GB, free: 7.051 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.4548, allocations: 1.228 MB / 0.5316 GB, free: 5.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002112/0.4569, allocations: 1.565 MB / 0.5331 GB, free: 4.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006099/0.463, allocations: 4.625 MB / 0.5376 GB, free: 15.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.463, allocations: 0 / 0.5376 GB, free: 15.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.463, allocations: 0 / 0.5376 GB, free: 15.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.951e-05/0.4631, allocations: 3.984 kB / 0.5376 GB, free: 15.61 MB / 478.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.009127/0.4723, allocations: 3.511 MB / 0.5411 GB, free: 12.04 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.4723, allocations: 16.02 kB / 0.5411 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.4743, allocations: 322.2 kB / 0.5414 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.4768, allocations: 1.339 MB / 0.5427 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.4769, allocations: 180.9 kB / 0.5429 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003904/0.4773, allocations: 243.9 kB / 0.5431 GB, free: 9.902 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006253/0.4836, allocations: 3.827 MB / 0.5468 GB, free: 6.027 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.4836, allocations: 0 / 0.5468 GB, free: 6.027 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003446/0.484, allocations: 112 kB / 0.5469 GB, free: 5.918 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/0.484, allocations: 56 kB / 0.547 GB, free: 5.863 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1751/0.6591, allocations: 5.987 MB / 0.5528 GB, free: 164.9 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.01896/0.6781, allocations: 11.2 MB / 0.5638 GB, free: 159.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006564/0.6847, allocations: 5.039 MB / 0.5687 GB, free: 157.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003096/0.6878, allocations: 2.405 MB / 0.571 GB, free: 157 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004454/0.6883, allocations: 443.9 kB / 0.5715 GB, free: 156.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.617e-05/0.6884, allocations: 101.5 kB / 0.5716 GB, free: 156.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.791e-06/0.6884, allocations: 0 / 0.5716 GB, free: 156.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.008721/0.6971, allocations: 5.809 MB / 0.5772 GB, free: 154.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.6972, allocations: 95.38 kB / 0.5773 GB, free: 154.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009831/0.6982, allocations: 0.8762 MB / 0.5782 GB, free: 153.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003612/0.6986, allocations: 101.1 kB / 0.5783 GB, free: 153.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.6988, allocations: 0.5168 MB / 0.5788 GB, free: 153 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006647/0.6994, allocations: 1.302 MB / 0.5801 GB, free: 151.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007536/0.7002, allocations: 0.6284 MB / 0.5807 GB, free: 151.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.371e-05/0.7003, allocations: 355.9 kB / 0.581 GB, free: 151.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/0.7025, allocations: 1.744 MB / 0.5827 GB, free: 150.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/0.7049, allocations: 2.264 MB / 0.5849 GB, free: 149.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004879/0.7098, allocations: 4.329 MB / 0.5891 GB, free: 145.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.7098, allocations: 4 kB / 0.5892 GB, free: 145.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006043/0.7159, allocations: 4.593 MB / 0.5936 GB, free: 140.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.7159, allocations: 8 kB / 0.5936 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.7159, allocations: 12 kB / 0.5937 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.573e-05/0.716, allocations: 28 kB / 0.5937 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/0.7193, allocations: 0.7933 MB / 0.5945 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.61e-05/0.7193, allocations: 31.92 kB / 0.5945 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.7215, allocations: 356.7 kB / 0.5948 GB, free: 139.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/0.7217, allocations: 147.9 kB / 0.595 GB, free: 139.4 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.001316/0.723, allocations: 0.7611 MB / 0.5957 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005303/0.7236, allocations: 213.7 kB / 0.5959 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007256/0.7308, allocations: 5.168 MB / 0.601 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.7309, allocations: 41.08 kB / 0.601 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.7309, allocations: 0 / 0.601 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.192e-05/0.7309, allocations: 19.92 kB / 0.601 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/0.7344, allocations: 2.826 MB / 0.6038 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.7344, allocations: 0 / 0.6038 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003168/0.7376, allocations: 0.7294 MB / 0.6045 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.068e-05/0.7376, allocations: 16 kB / 0.6045 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/0.7378, allocations: 95.95 kB / 0.6046 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.36e-05/0.7379, allocations: 12 kB / 0.6046 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7379, allocations: 0 / 0.6046 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008461/0.7464, allocations: 7.221 MB / 0.6117 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/0.7468, allocations: 318 kB / 0.612 GB, free: 121.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003703/0.7471, allocations: 87.28 kB / 0.6121 GB, free: 121.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002834/0.75, allocations: 226.8 kB / 0.6123 GB, free: 121.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005278/0.7505, allocations: 314.9 kB / 0.6126 GB, free: 121.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003023/0.7508, allocations: 175.9 kB / 0.6127 GB, free: 121.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000631/0.7515, allocations: 0.6863 MB / 0.6134 GB, free: 120.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7515, allocations: 0 / 0.6134 GB, free: 120.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001965/0.7535, allocations: 1.081 MB / 0.6145 GB, free: 119.3 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.001055/0.7545, allocations: 476.9 kB / 0.6149 GB, free: 118.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005444/0.76, allocations: 4.3 MB / 0.6191 GB, free: 114.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.76, allocations: 9.25 kB / 0.6191 GB, free: 114.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002567/0.7626, allocations: 2.271 MB / 0.6213 GB, free: 112.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0052/0.7678, allocations: 1.245 MB / 0.6226 GB, free: 111.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.7779, allocations: 6.635 MB / 0.629 GB, free: 104.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00093/0.7788, allocations: 1.852 MB / 0.6308 GB, free: 102.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004272/0.7831, allocations: 1.772 MB / 0.6326 GB, free: 100.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.7841, allocations: 299.3 kB / 0.6329 GB, free: 100.4 MB / 478.1 MB Notification: Performance of SimCode: time 8.41e-07/0.7842, allocations: 0 / 0.6329 GB, free: 100.4 MB / 478.1 MB Notification: Performance of Templates: time 0.07099/0.8551, allocations: 64.56 MB / 0.6959 GB, free: 35.73 MB / 478.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