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) 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 4.0.0+maint.om/package.mo", uses=false) 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=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_4.0.0_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_4.0.0_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.001069/0.001069, allocations: 117.7 kB / 17.7 MB, free: 5.293 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.001152/0.001153, allocations: 191 kB / 18.63 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009509/0.000951, allocations: 51.86 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07799/0.07896, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2835/0.3625, allocations: 151.8 MB / 0.4915 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.3637, allocations: 0.7014 MB / 0.4922 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.56e-05/0.3638, allocations: 0 / 0.4922 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.3641, allocations: 82.61 kB / 0.4923 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005448/0.3647, allocations: 293.9 kB / 0.4926 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.3673, allocations: 1.116 MB / 0.4937 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004613/0.3719, allocations: 5.597 MB / 0.4991 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.3723, allocations: 260.8 kB / 0.4994 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002831/0.3751, allocations: 2.175 MB / 0.5015 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.3778, allocations: 1.963 MB / 0.5034 GB, free: 88 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005124/0.3784, allocations: 240 kB / 0.5037 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/0.3815, allocations: 1.728 MB / 0.5053 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.3828, allocations: 1.22 MB / 0.5065 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0021/0.3849, allocations: 1.561 MB / 0.5081 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004633/0.3896, allocations: 4.535 MB / 0.5125 GB, free: 6.785 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3896, allocations: 0 / 0.5125 GB, free: 6.785 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3896, allocations: 7.938 kB / 0.5125 GB, free: 6.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.631e-05/0.3897, allocations: 0 / 0.5125 GB, free: 6.777 MB / 430.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.008527/0.3982, allocations: 3.484 MB / 0.5159 GB, free: 3.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.3982, allocations: 8.031 kB / 0.5159 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.4, allocations: 334.5 kB / 0.5162 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003278/0.4033, allocations: 1.335 MB / 0.5175 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.4035, allocations: 184.9 kB / 0.5177 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003932/0.4039, allocations: 239.9 kB / 0.5179 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005802/0.4097, allocations: 3.823 MB / 0.5217 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/0.4097, allocations: 4 kB / 0.5217 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003257/0.4101, allocations: 115.7 kB / 0.5218 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/0.4101, allocations: 60 kB / 0.5218 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008317/0.4184, allocations: 5.984 MB / 0.5277 GB, free: 7.051 MB / 446.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.1595/0.5779, allocations: 11.2 MB / 0.5386 GB, free: 161.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006991/0.5849, allocations: 5.04 MB / 0.5435 GB, free: 159.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003174/0.5881, allocations: 2.41 MB / 0.5459 GB, free: 158.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004637/0.5886, allocations: 438.8 kB / 0.5463 GB, free: 158.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.017e-05/0.5887, allocations: 94.09 kB / 0.5464 GB, free: 158.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 6.663e-06/0.5887, allocations: 0 / 0.5464 GB, free: 158.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.008169/0.5969, allocations: 5.82 MB / 0.5521 GB, free: 156.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.5969, allocations: 97.94 kB / 0.5522 GB, free: 156 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007817/0.5977, allocations: 0.8692 MB / 0.553 GB, free: 155.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002942/0.598, allocations: 104.7 kB / 0.5531 GB, free: 155.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.5982, allocations: 0.5139 MB / 0.5536 GB, free: 155.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005495/0.5988, allocations: 1.31 MB / 0.5549 GB, free: 153.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007661/0.5995, allocations: 0.624 MB / 0.5555 GB, free: 153.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.922e-05/0.5996, allocations: 357.4 kB / 0.5559 GB, free: 153.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/0.6017, allocations: 1.743 MB / 0.5576 GB, free: 152.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.604, allocations: 2.264 MB / 0.5598 GB, free: 151.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00476/0.6088, allocations: 4.328 MB / 0.564 GB, free: 147.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.6088, allocations: 4 kB / 0.564 GB, free: 147.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005733/0.6146, allocations: 4.586 MB / 0.5685 GB, free: 142.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.6146, allocations: 11.94 kB / 0.5685 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.6146, allocations: 15.47 kB / 0.5685 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.6147, allocations: 31.94 kB / 0.5685 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003243/0.6179, allocations: 0.7871 MB / 0.5693 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.233e-05/0.618, allocations: 31.88 kB / 0.5693 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.6199, allocations: 356.1 kB / 0.5697 GB, free: 141.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/0.6202, allocations: 152.8 kB / 0.5698 GB, free: 141.3 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.001089/0.6213, allocations: 0.7582 MB / 0.5706 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/0.6218, allocations: 209.8 kB / 0.5708 GB, free: 140.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006871/0.6286, allocations: 5.166 MB / 0.5758 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.6287, allocations: 41.08 kB / 0.5758 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.6287, allocations: 0 / 0.5758 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.014e-05/0.6287, allocations: 19.92 kB / 0.5759 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/0.6321, allocations: 2.821 MB / 0.5786 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.6321, allocations: 3.625 kB / 0.5786 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003108/0.6352, allocations: 0.7333 MB / 0.5793 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.228e-05/0.6352, allocations: 16 kB / 0.5793 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002124/0.6355, allocations: 95.89 kB / 0.5794 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.55e-05/0.6355, allocations: 12 kB / 0.5795 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6355, allocations: 3.938 kB / 0.5795 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00868/0.6442, allocations: 7.218 MB / 0.5865 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005806/0.6448, allocations: 314 kB / 0.5868 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/0.6452, allocations: 83.84 kB / 0.5869 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002574/0.6477, allocations: 226.6 kB / 0.5871 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005418/0.6483, allocations: 310.9 kB / 0.5874 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003713/0.6487, allocations: 179.9 kB / 0.5876 GB, free: 123 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006741/0.6494, allocations: 0.6863 MB / 0.5882 GB, free: 122.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6494, allocations: 0 / 0.5882 GB, free: 122.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001895/0.6513, allocations: 1.08 MB / 0.5893 GB, free: 121.3 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.000965/0.6522, allocations: 441.9 kB / 0.5897 GB, free: 120.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005206/0.6575, allocations: 4.3 MB / 0.5939 GB, free: 116.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.6575, allocations: 9 kB / 0.5939 GB, free: 116.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002494/0.66, allocations: 2.263 MB / 0.5961 GB, free: 114.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004454/0.6644, allocations: 1.255 MB / 0.5974 GB, free: 113.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009104/0.6736, allocations: 6.643 MB / 0.6038 GB, free: 106.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008434/0.6744, allocations: 1.845 MB / 0.6056 GB, free: 104.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003842/0.6783, allocations: 1.771 MB / 0.6074 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009324/0.6792, allocations: 295.3 kB / 0.6077 GB, free: 102.4 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6792, allocations: 0 / 0.6077 GB, free: 102.4 MB / 446.1 MB Notification: Performance of Templates: time 0.06892/0.7482, allocations: 63.47 MB / 0.6696 GB, free: 39.38 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches