Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001748/0.001747, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002165/0.002166, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 64.55 kB / 306.9 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0961/0.09742, allocations: 50.53 MB / 357.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3391/0.4366, allocations: 152.6 MB / 0.4981 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.4381, allocations: 0.7155 MB / 0.4988 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.4383, allocations: 4 kB / 0.4988 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004506/0.4388, allocations: 67.62 kB / 0.4988 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008035/0.4397, allocations: 275.3 kB / 0.4991 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.443, allocations: 0.951 MB / 0.5 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006482/0.4495, allocations: 7.157 MB / 0.507 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004351/0.45, allocations: 260.5 kB / 0.5073 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003841/0.4538, allocations: 1.901 MB / 0.5091 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003642/0.4575, allocations: 1.963 MB / 0.5111 GB, free: 5.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.4586, allocations: 144 kB / 0.5112 GB, free: 5.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00449/0.4631, allocations: 1.712 MB / 0.5129 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001912/0.465, allocations: 1.087 MB / 0.5139 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002685/0.4677, allocations: 1.424 MB / 0.5153 GB, free: 1.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004/0.4717, allocations: 3.317 MB / 0.5186 GB, free: 14.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4717, allocations: 0 / 0.5186 GB, free: 14.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4718, allocations: 0 / 0.5186 GB, free: 14.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.734e-05/0.4718, allocations: 0 / 0.5186 GB, free: 14.07 MB / 446.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.009692/0.4815, allocations: 3.499 MB / 0.522 GB, free: 10.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.4816, allocations: 12.03 kB / 0.522 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/0.4834, allocations: 322.5 kB / 0.5223 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.4859, allocations: 1.331 MB / 0.5236 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.486, allocations: 176.9 kB / 0.5238 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/0.4864, allocations: 243.9 kB / 0.524 GB, free: 8.395 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006245/0.4927, allocations: 3.823 MB / 0.5277 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.4927, allocations: 0.875 kB / 0.5277 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003681/0.4931, allocations: 112 kB / 0.5278 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.4931, allocations: 63.94 kB / 0.5279 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.178/0.6712, allocations: 5.983 MB / 0.5337 GB, free: 157.8 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.02264/0.6939, allocations: 11.18 MB / 0.5447 GB, free: 152.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007956/0.7019, allocations: 5.039 MB / 0.5496 GB, free: 150.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00384/0.7058, allocations: 2.403 MB / 0.5519 GB, free: 149 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/0.7064, allocations: 443.6 kB / 0.5523 GB, free: 148.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.287e-05/0.7065, allocations: 101.7 kB / 0.5524 GB, free: 148.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 5.601e-06/0.7065, allocations: 0 / 0.5524 GB, free: 148.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.009007/0.7155, allocations: 5.809 MB / 0.5581 GB, free: 145.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.7156, allocations: 92.47 kB / 0.5582 GB, free: 145.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000951/0.7166, allocations: 0.8693 MB / 0.559 GB, free: 145.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004462/0.717, allocations: 99.86 kB / 0.5591 GB, free: 145.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.7173, allocations: 0.5247 MB / 0.5597 GB, free: 144.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007752/0.718, allocations: 1.299 MB / 0.5609 GB, free: 143.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007595/0.7188, allocations: 0.6285 MB / 0.5615 GB, free: 143.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.7189, allocations: 357.9 kB / 0.5619 GB, free: 142.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/0.7211, allocations: 1.743 MB / 0.5636 GB, free: 141 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/0.7237, allocations: 2.257 MB / 0.5658 GB, free: 138.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004911/0.7286, allocations: 4.335 MB / 0.57 GB, free: 134.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.7286, allocations: 4 kB / 0.57 GB, free: 134.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006215/0.7348, allocations: 4.59 MB / 0.5745 GB, free: 129.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.7349, allocations: 8 kB / 0.5745 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.7349, allocations: 12 kB / 0.5745 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-05/0.735, allocations: 28 kB / 0.5746 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003466/0.7384, allocations: 0.7959 MB / 0.5753 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.148e-05/0.7385, allocations: 27.94 kB / 0.5754 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/0.7411, allocations: 424.5 kB / 0.5758 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/0.7414, allocations: 147.9 kB / 0.5759 GB, free: 128.1 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.001365/0.7427, allocations: 0.7621 MB / 0.5766 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005622/0.7433, allocations: 213.7 kB / 0.5768 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007489/0.7508, allocations: 5.17 MB / 0.5819 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.7508, allocations: 40 kB / 0.5819 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.7509, allocations: 3.938 kB / 0.5819 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.563e-05/0.7509, allocations: 20.91 kB / 0.582 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004432/0.7553, allocations: 2.825 MB / 0.5847 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/0.7554, allocations: 3.875 kB / 0.5847 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003329/0.7587, allocations: 0.7333 MB / 0.5854 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.611e-05/0.7588, allocations: 16 kB / 0.5855 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002663/0.759, allocations: 91.95 kB / 0.5855 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.528e-05/0.7591, allocations: 12 kB / 0.5856 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.7591, allocations: 0 / 0.5856 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0088/0.7679, allocations: 7.218 MB / 0.5926 GB, free: 110.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006445/0.7686, allocations: 325.9 kB / 0.5929 GB, free: 110.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/0.7689, allocations: 83.84 kB / 0.593 GB, free: 110.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003025/0.772, allocations: 299.4 kB / 0.5933 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005589/0.7725, allocations: 310.9 kB / 0.5936 GB, free: 109.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003515/0.7729, allocations: 175.9 kB / 0.5937 GB, free: 109.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000703/0.7736, allocations: 0.6863 MB / 0.5944 GB, free: 108.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7736, allocations: 0 / 0.5944 GB, free: 108.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002354/0.776, allocations: 1.087 MB / 0.5955 GB, free: 107.9 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.001116/0.7771, allocations: 444.4 kB / 0.5959 GB, free: 107.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005623/0.7827, allocations: 4.285 MB / 0.6001 GB, free: 103.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.7828, allocations: 5 kB / 0.6001 GB, free: 103.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002609/0.7854, allocations: 2.267 MB / 0.6023 GB, free: 100.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004889/0.7903, allocations: 1.234 MB / 0.6035 GB, free: 99.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.8003, allocations: 7.735 MB / 0.6111 GB, free: 91.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008731/0.8012, allocations: 1.857 MB / 0.6129 GB, free: 90 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001486/0.8027, allocations: 327.3 kB / 0.6132 GB, free: 89.68 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.8027, allocations: 0 / 0.6132 GB, free: 89.68 MB / 446.1 MB Notification: Performance of Templates: time 0.05359/0.8563, allocations: 46.71 MB / 0.6588 GB, free: 43.09 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches