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.0008414/0.0008414, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009835/0.0009833, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.7 MB / 247.5 MB, free: 9.492 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002596/0.0002596, allocations: 4 kB / 308.4 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0951/0.09538, allocations: 51.52 MB / 359.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.344/0.4394, allocations: 150.7 MB / 0.4986 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.4414, allocations: 0.7044 MB / 0.4993 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.4417, allocations: 0 / 0.4993 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.4422, allocations: 74.88 kB / 0.4994 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001/0.4432, allocations: 272.1 kB / 0.4996 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004233/0.4475, allocations: 0.957 MB / 0.5006 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009645/0.4571, allocations: 7.161 MB / 0.5075 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006331/0.4578, allocations: 255.9 kB / 0.5078 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005136/0.463, allocations: 1.901 MB / 0.5096 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003923/0.467, allocations: 1.967 MB / 0.5116 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.4681, allocations: 140 kB / 0.5117 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004473/0.4726, allocations: 1.723 MB / 0.5134 GB, free: 5.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002014/0.4746, allocations: 1.083 MB / 0.5144 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003734/0.4784, allocations: 1.449 MB / 0.5159 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005137/0.4835, allocations: 3.289 MB / 0.5191 GB, free: 15.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4835, allocations: 0 / 0.5191 GB, free: 15.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4836, allocations: 1.5 kB / 0.5191 GB, free: 15.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001607/0.4837, allocations: 0 / 0.5191 GB, free: 15.68 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.0093/0.493, allocations: 2.898 MB / 0.5219 GB, free: 12.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.4931, allocations: 8.031 kB / 0.5219 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002482/0.4956, allocations: 326.5 kB / 0.5222 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/0.4987, allocations: 1.327 MB / 0.5235 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.4989, allocations: 180.9 kB / 0.5237 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007797/0.4997, allocations: 243.9 kB / 0.5239 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007838/0.5076, allocations: 3.823 MB / 0.5277 GB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.508e-05/0.5077, allocations: 0 / 0.5277 GB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006489/0.5083, allocations: 116 kB / 0.5278 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/0.5084, allocations: 56 kB / 0.5278 GB, free: 6.559 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.5187, allocations: 5.986 MB / 0.5337 GB, free: 0.5547 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.2213/0.74, allocations: 11.19 MB / 0.5446 GB, free: 151.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008198/0.7482, allocations: 5.039 MB / 0.5495 GB, free: 149.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003661/0.7519, allocations: 2.41 MB / 0.5519 GB, free: 148.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005489/0.7525, allocations: 434.6 kB / 0.5523 GB, free: 148.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.158e-05/0.7526, allocations: 94.41 kB / 0.5524 GB, free: 148.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 5.891e-06/0.7526, allocations: 0 / 0.5524 GB, free: 148.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.008859/0.7614, allocations: 5.824 MB / 0.5581 GB, free: 145.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.7615, allocations: 91.81 kB / 0.5581 GB, free: 145.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008487/0.7624, allocations: 0.868 MB / 0.559 GB, free: 145.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000395/0.7628, allocations: 104 kB / 0.5591 GB, free: 145.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.763, allocations: 0.511 MB / 0.5596 GB, free: 144.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007042/0.7637, allocations: 1.307 MB / 0.5609 GB, free: 143.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003074/0.7641, allocations: 285.8 kB / 0.5611 GB, free: 143.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.911e-05/0.7641, allocations: 358.2 kB / 0.5615 GB, free: 143 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/0.7663, allocations: 1.749 MB / 0.5632 GB, free: 142.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/0.7687, allocations: 2.256 MB / 0.5654 GB, free: 140.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00485/0.7735, allocations: 4.333 MB / 0.5696 GB, free: 135.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.7736, allocations: 7.984 kB / 0.5696 GB, free: 135.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005855/0.7794, allocations: 4.586 MB / 0.5741 GB, free: 131.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.7795, allocations: 11.94 kB / 0.5741 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.7795, allocations: 12 kB / 0.5741 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.474e-05/0.7795, allocations: 32.8 kB / 0.5742 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/0.7827, allocations: 0.7917 MB / 0.5749 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.776e-05/0.7828, allocations: 35.92 kB / 0.575 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/0.7852, allocations: 429.4 kB / 0.5754 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/0.7855, allocations: 143.9 kB / 0.5755 GB, free: 129.7 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.001351/0.7869, allocations: 0.7621 MB / 0.5763 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004601/0.7874, allocations: 213.8 kB / 0.5765 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007508/0.7949, allocations: 5.168 MB / 0.5815 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.7949, allocations: 47.98 kB / 0.5816 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.7949, allocations: 0 / 0.5816 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.26e-05/0.795, allocations: 19.92 kB / 0.5816 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/0.7992, allocations: 2.825 MB / 0.5843 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.7992, allocations: 1.562 kB / 0.5843 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003179/0.8024, allocations: 0.7294 MB / 0.5851 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.781e-05/0.8024, allocations: 15.94 kB / 0.5851 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002709/0.8027, allocations: 87.97 kB / 0.5852 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-05/0.8027, allocations: 12 kB / 0.5852 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8027, allocations: 4 kB / 0.5852 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00886/0.8116, allocations: 7.226 MB / 0.5922 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007007/0.8123, allocations: 353.8 kB / 0.5926 GB, free: 112.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003338/0.8127, allocations: 79.92 kB / 0.5926 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/0.8157, allocations: 291.5 kB / 0.5929 GB, free: 111.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005093/0.8162, allocations: 314.9 kB / 0.5932 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003558/0.8166, allocations: 187.2 kB / 0.5934 GB, free: 111.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006777/0.8173, allocations: 0.6863 MB / 0.5941 GB, free: 110.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8173, allocations: 0 / 0.5941 GB, free: 110.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002043/0.8193, allocations: 1.083 MB / 0.5951 GB, free: 109.6 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.001022/0.8204, allocations: 455.9 kB / 0.5956 GB, free: 109.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005253/0.8256, allocations: 4.278 MB / 0.5997 GB, free: 104.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.8257, allocations: 9.375 kB / 0.5997 GB, free: 104.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002544/0.8282, allocations: 2.267 MB / 0.602 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005575/0.8338, allocations: 1.222 MB / 0.6032 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.8442, allocations: 8.078 MB / 0.611 GB, free: 93.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008999/0.8451, allocations: 1.853 MB / 0.6129 GB, free: 91.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/0.8467, allocations: 331.3 kB / 0.6132 GB, free: 91.02 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.8467, allocations: 4 kB / 0.6132 GB, free: 91.02 MB / 446.1 MB Notification: Performance of Templates: time 0.05267/0.8994, allocations: 46.44 MB / 0.6585 GB, free: 44.68 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