Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001587, allocations: 201.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007416/0.0007417, allocations: 99.38 kB / 299.9 MB, free: 5.367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000227/0.0002273, allocations: 8 kB / 360.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1887, allocations: 51.4 MB / 412 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2981/0.4868, allocations: 141.8 MB / 0.5408 GB, free: 15.94 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.4881, allocations: 1.062 MB / 0.5419 GB, free: 15.42 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.4882, allocations: 2.688 kB / 0.5419 GB, free: 15.42 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.4886, allocations: 73.86 kB / 0.542 GB, free: 15.41 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005643/0.4892, allocations: 276.9 kB / 0.5422 GB, free: 15.34 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.4916, allocations: 0.9573 MB / 0.5432 GB, free: 14.99 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004994/0.4966, allocations: 7.168 MB / 0.5502 GB, free: 12.77 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000356/0.497, allocations: 260.6 kB / 0.5504 GB, free: 12.66 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.4999, allocations: 1.937 MB / 0.5523 GB, free: 12.24 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003206/0.5031, allocations: 1.961 MB / 0.5542 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.5042, allocations: 140.2 kB / 0.5543 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.5082, allocations: 1.679 MB / 0.556 GB, free: 11.28 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001594/0.5098, allocations: 1.07 MB / 0.557 GB, free: 10.89 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002847/0.5126, allocations: 1.444 MB / 0.5584 GB, free: 10.55 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005924/0.5186, allocations: 4.398 MB / 0.5627 GB, free: 8.527 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5186, allocations: 2.25 kB / 0.5627 GB, free: 8.527 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5186, allocations: 0 / 0.5627 GB, free: 8.527 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000176/0.5188, allocations: 0 / 0.5627 GB, free: 8.527 MB / 394.7 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.008638/0.5274, allocations: 2.891 MB / 0.5656 GB, free: 6.902 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.5275, allocations: 10.69 kB / 0.5656 GB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/0.5297, allocations: 329 kB / 0.5659 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/0.5328, allocations: 1.332 MB / 0.5672 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.533, allocations: 177.2 kB / 0.5674 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007239/0.5337, allocations: 243.5 kB / 0.5676 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006835/0.5406, allocations: 3.798 MB / 0.5713 GB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.5406, allocations: 2.062 kB / 0.5713 GB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003949/0.541, allocations: 115.2 kB / 0.5714 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-05/0.5411, allocations: 56 kB / 0.5715 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008173/0.5493, allocations: 5.976 MB / 0.5773 GB, free: 13.56 MB / 410.7 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.02049/0.5698, allocations: 11.18 MB / 0.5882 GB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006795/0.5766, allocations: 5.024 MB / 0.5931 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00323/0.5799, allocations: 2.387 MB / 0.5955 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005436/0.5804, allocations: 444.1 kB / 0.5959 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.785e-05/0.5805, allocations: 97.19 kB / 0.596 GB, free: 13.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 5.621e-06/0.5806, allocations: 0 / 0.596 GB, free: 13.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.008946/0.5895, allocations: 5.778 MB / 0.6016 GB, free: 9.004 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.5896, allocations: 102.3 kB / 0.6017 GB, free: 8.891 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.5907, allocations: 0.8726 MB / 0.6026 GB, free: 8.195 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003489/0.591, allocations: 105 kB / 0.6027 GB, free: 8.141 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.5914, allocations: 0.5055 MB / 0.6032 GB, free: 7.762 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.5924, allocations: 1.307 MB / 0.6044 GB, free: 6.641 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.5926, allocations: 73.69 kB / 0.6045 GB, free: 6.625 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002547/0.5929, allocations: 0.4946 MB / 0.605 GB, free: 6.195 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002665/0.5955, allocations: 1.725 MB / 0.6067 GB, free: 4.879 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002951/0.5985, allocations: 2.251 MB / 0.6089 GB, free: 2.953 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005875/0.6044, allocations: 4.316 MB / 0.6131 GB, free: 15.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/0.6044, allocations: 4 kB / 0.6131 GB, free: 15.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00685/0.6113, allocations: 4.565 MB / 0.6175 GB, free: 12.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.6113, allocations: 12 kB / 0.6176 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.6113, allocations: 8 kB / 0.6176 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.581e-05/0.6114, allocations: 28.72 kB / 0.6176 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003539/0.6149, allocations: 0.799 MB / 0.6184 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.996e-05/0.615, allocations: 31.94 kB / 0.6184 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/0.6175, allocations: 420 kB / 0.6188 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003213/0.6178, allocations: 149.8 kB / 0.6189 GB, free: 10.77 MB / 442.7 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[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 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.001291/0.6191, allocations: 0.7603 MB / 0.6197 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005509/0.6197, allocations: 209.8 kB / 0.6199 GB, free: 9.977 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008271/0.628, allocations: 5.147 MB / 0.6249 GB, free: 6.227 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/0.628, allocations: 43.94 kB / 0.625 GB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.628, allocations: 0 / 0.625 GB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.489e-05/0.6281, allocations: 19.92 kB / 0.625 GB, free: 6.164 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004281/0.6324, allocations: 2.823 MB / 0.6277 GB, free: 3.988 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.6324, allocations: 4 kB / 0.6277 GB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003297/0.6357, allocations: 0.7292 MB / 0.6284 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.201e-05/0.6357, allocations: 16 kB / 0.6285 GB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002377/0.636, allocations: 95.45 kB / 0.6286 GB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.227e-05/0.636, allocations: 15.94 kB / 0.6286 GB, free: 3.211 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.636, allocations: 0 / 0.6286 GB, free: 3.211 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009727/0.6458, allocations: 7.181 MB / 0.6356 GB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005893/0.6464, allocations: 354.1 kB / 0.6359 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/0.6468, allocations: 69.38 kB / 0.636 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003011/0.6498, allocations: 319.1 kB / 0.6363 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006121/0.6504, allocations: 313.7 kB / 0.6366 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000469/0.6509, allocations: 173.2 kB / 0.6368 GB, free: 12.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008583/0.6517, allocations: 0.6792 MB / 0.6374 GB, free: 12.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6518, allocations: 0 / 0.6374 GB, free: 12.25 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00262/0.6544, allocations: 1.087 MB / 0.6385 GB, free: 11.29 MB / 458.7 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.001216/0.6556, allocations: 467.3 kB / 0.6389 GB, free: 10.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00625/0.6619, allocations: 4.247 MB / 0.6431 GB, free: 7.395 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.6619, allocations: 5 kB / 0.6431 GB, free: 7.391 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00311/0.665, allocations: 2.261 MB / 0.6453 GB, free: 5.133 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005299/0.6703, allocations: 1.224 MB / 0.6465 GB, free: 3.906 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.6823, allocations: 7.971 MB / 0.6543 GB, free: 11.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/0.6837, allocations: 1.845 MB / 0.6561 GB, free: 10.01 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005829/0.6895, allocations: 1.764 MB / 0.6578 GB, free: 8.238 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/0.6908, allocations: 295.3 kB / 0.6581 GB, free: 7.949 MB / 474.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6908, allocations: 4 kB / 0.6581 GB, free: 7.945 MB / 474.7 MB Notification: Performance of Templates: time 0.228/0.9188, allocations: 60.32 MB / 0.717 GB, free: 174.3 MB / 490.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches