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.001124/0.001124, allocations: 112.2 kB / 17.06 MB, free: 5.773 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.001179/0.001179, allocations: 195.9 kB / 18 MB, free: 4.953 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.315/1.315, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009281/0.0009282, allocations: 47.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2239, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1511/0.375, allocations: 151.8 MB / 0.5396 GB, free: 440 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2153/0.5903, allocations: 0.6841 MB / 0.5403 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.5905, allocations: 4.781 kB / 0.5403 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.5909, allocations: 84.44 kB / 0.5404 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006491/0.5916, allocations: 291.5 kB / 0.5406 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.5943, allocations: 1.123 MB / 0.5417 GB, free: 1.652 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00438/0.5987, allocations: 5.601 MB / 0.5472 GB, free: 1.629 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.599, allocations: 266.5 kB / 0.5475 GB, free: 1.559 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.602, allocations: 2.234 MB / 0.5496 GB, free: 1.559 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.6045, allocations: 1.97 MB / 0.5516 GB, free: 1.559 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004631/0.605, allocations: 236.5 kB / 0.5518 GB, free: 1.559 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.608, allocations: 1.728 MB / 0.5535 GB, free: 1.543 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.6091, allocations: 1.227 MB / 0.5547 GB, free: 1.535 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002155/0.6112, allocations: 1.563 MB / 0.5562 GB, free: 1.531 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003903/0.6151, allocations: 4.537 MB / 0.5606 GB, free: 1.066 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6152, allocations: 0 / 0.5606 GB, free: 1.066 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6152, allocations: 1.094 kB / 0.5606 GB, free: 1.066 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.835e-05/0.6152, allocations: 2.25 kB / 0.5606 GB, free: 1.066 MB / 462.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.007934/0.6232, allocations: 3.487 MB / 0.564 GB, free: 16.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.6232, allocations: 12.34 kB / 0.5641 GB, free: 16.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.625, allocations: 325.5 kB / 0.5644 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/0.6272, allocations: 1.34 MB / 0.5657 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.93e-05/0.6273, allocations: 180.3 kB / 0.5658 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003744/0.6277, allocations: 240.4 kB / 0.5661 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005568/0.6333, allocations: 3.82 MB / 0.5698 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.121e-05/0.6333, allocations: 0 / 0.5698 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003755/0.6337, allocations: 114.2 kB / 0.5699 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/0.6338, allocations: 60.91 kB / 0.57 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007629/0.6414, allocations: 5.983 MB / 0.5758 GB, free: 15.39 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.01873/0.6602, allocations: 11.21 MB / 0.5868 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006672/0.6669, allocations: 5.039 MB / 0.5917 GB, free: 4.266 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00334/0.6702, allocations: 2.402 MB / 0.594 GB, free: 2.492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005218/0.6707, allocations: 440.9 kB / 0.5945 GB, free: 2.023 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.37e-05/0.6708, allocations: 90.56 kB / 0.5945 GB, free: 1.961 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.41e-06/0.6708, allocations: 4 kB / 0.5945 GB, free: 1.957 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.009396/0.6802, allocations: 5.812 MB / 0.6002 GB, free: 13.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.6803, allocations: 99.53 kB / 0.6003 GB, free: 13.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.6814, allocations: 0.8751 MB / 0.6012 GB, free: 12.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003742/0.6818, allocations: 102.5 kB / 0.6013 GB, free: 12.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/0.6822, allocations: 0.5188 MB / 0.6018 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009978/0.6832, allocations: 1.302 MB / 0.603 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009184/0.6841, allocations: 0.63 MB / 0.6037 GB, free: 9.684 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6843, allocations: 353.9 kB / 0.604 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002803/0.6871, allocations: 1.745 MB / 0.6057 GB, free: 7.586 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003181/0.6903, allocations: 2.26 MB / 0.6079 GB, free: 5.191 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006299/0.6966, allocations: 4.331 MB / 0.6121 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.6966, allocations: 0 / 0.6121 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007661/0.7043, allocations: 4.591 MB / 0.6166 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.7043, allocations: 8 kB / 0.6166 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.7043, allocations: 12.78 kB / 0.6166 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.765e-05/0.7044, allocations: 24 kB / 0.6167 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003753/0.7082, allocations: 0.7927 MB / 0.6174 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.084e-05/0.7082, allocations: 35.91 kB / 0.6175 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/0.7106, allocations: 362.1 kB / 0.6178 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/0.7109, allocations: 143.9 kB / 0.618 GB, free: 10.91 MB / 0.4981 GB 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.001454/0.7124, allocations: 0.7638 MB / 0.6187 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006225/0.713, allocations: 205.8 kB / 0.6189 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00907/0.7221, allocations: 5.164 MB / 0.6239 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-05/0.7222, allocations: 47.94 kB / 0.624 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.7222, allocations: 0 / 0.624 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.674e-05/0.7222, allocations: 24.92 kB / 0.624 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004372/0.7266, allocations: 2.814 MB / 0.6268 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.7266, allocations: 4 kB / 0.6268 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003634/0.7303, allocations: 0.7319 MB / 0.6275 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-05/0.7303, allocations: 16 kB / 0.6275 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002302/0.7305, allocations: 92.89 kB / 0.6276 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.819e-05/0.7306, allocations: 16 kB / 0.6276 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7306, allocations: 0.75 kB / 0.6276 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/0.7414, allocations: 7.213 MB / 0.6346 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005384/0.7419, allocations: 325.9 kB / 0.635 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003875/0.7423, allocations: 80.81 kB / 0.635 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002968/0.7453, allocations: 226 kB / 0.6352 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006125/0.7459, allocations: 319 kB / 0.6355 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003522/0.7463, allocations: 179.9 kB / 0.6357 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008401/0.7471, allocations: 0.6872 MB / 0.6364 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7472, allocations: 0.9062 kB / 0.6364 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002263/0.7494, allocations: 1.073 MB / 0.6374 GB, free: 7.031 MB / 0.5137 GB 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.001046/0.7505, allocations: 450.4 kB / 0.6379 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006509/0.757, allocations: 4.297 MB / 0.6421 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.757, allocations: 5.938 kB / 0.6421 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003276/0.7603, allocations: 2.271 MB / 0.6443 GB, free: 228 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005635/0.766, allocations: 1.261 MB / 0.6455 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.7772, allocations: 6.639 MB / 0.652 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.7786, allocations: 1.849 MB / 0.6538 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004467/0.783, allocations: 1.771 MB / 0.6555 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.7841, allocations: 295.3 kB / 0.6558 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.7841, allocations: 0 / 0.6558 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of Templates: time 0.08854/0.8726, allocations: 64.27 MB / 0.7186 GB, free: 4.648 MB / 0.5919 GB 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/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