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.001485/0.001485, allocations: 110.9 kB / 17.06 MB, free: 6.012 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.001629/0.001629, allocations: 191 kB / 18 MB, free: 5.098 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.31/1.31, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009018/0.0009018, allocations: 39.94 kB / 351.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2224, allocations: 49.43 MB / 400.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.148/0.3704, allocations: 151.9 MB / 0.5396 GB, free: 464 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2092/0.5796, allocations: 0.6959 MB / 0.5403 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.5799, allocations: 5.531 kB / 0.5403 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.5802, allocations: 77.66 kB / 0.5404 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006337/0.5809, allocations: 286.8 kB / 0.5406 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.5834, allocations: 1.121 MB / 0.5417 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003894/0.5873, allocations: 5.596 MB / 0.5472 GB, free: 1.637 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002743/0.5876, allocations: 258.6 kB / 0.5475 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.59, allocations: 2.171 MB / 0.5496 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002465/0.5925, allocations: 1.962 MB / 0.5515 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006293/0.5931, allocations: 240.2 kB / 0.5517 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003143/0.5963, allocations: 1.735 MB / 0.5534 GB, free: 1.559 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.5974, allocations: 1.224 MB / 0.5546 GB, free: 1.551 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002198/0.5996, allocations: 1.563 MB / 0.5561 GB, free: 1.547 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004338/0.6039, allocations: 4.549 MB / 0.5606 GB, free: 1.066 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.604, allocations: 0 / 0.5606 GB, free: 1.066 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.604, allocations: 0.9062 kB / 0.5606 GB, free: 1.066 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.687e-05/0.604, allocations: 0 / 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.00829/0.6123, allocations: 3.548 MB / 0.564 GB, free: 15.95 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.6124, allocations: 11.38 kB / 0.5641 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.6142, allocations: 338.9 kB / 0.5644 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.6165, allocations: 1.338 MB / 0.5657 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.885e-05/0.6166, allocations: 185.5 kB / 0.5659 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/0.617, allocations: 238.8 kB / 0.5661 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005446/0.6224, allocations: 3.83 MB / 0.5698 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.437e-05/0.6225, allocations: 0.8438 kB / 0.5698 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003303/0.6228, allocations: 111.3 kB / 0.5699 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.6229, allocations: 60.06 kB / 0.57 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00753/0.6304, allocations: 5.984 MB / 0.5758 GB, free: 15.3 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.01772/0.6481, allocations: 11.23 MB / 0.5868 GB, free: 7.613 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006444/0.6546, allocations: 5.034 MB / 0.5917 GB, free: 4.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003286/0.6579, allocations: 2.402 MB / 0.5941 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005522/0.6585, allocations: 444.9 kB / 0.5945 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.175e-05/0.6586, allocations: 97.84 kB / 0.5946 GB, free: 1.922 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 8.165e-06/0.6586, allocations: 4.984 kB / 0.5946 GB, free: 1.918 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.009388/0.668, allocations: 5.821 MB / 0.6003 GB, free: 13.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.6681, allocations: 95.31 kB / 0.6004 GB, free: 13.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.6691, allocations: 0.8713 MB / 0.6012 GB, free: 12.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003353/0.6695, allocations: 110.6 kB / 0.6013 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.6698, allocations: 0.5266 MB / 0.6018 GB, free: 11.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009915/0.6708, allocations: 1.375 MB / 0.6032 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009403/0.6718, allocations: 0.6263 MB / 0.6038 GB, free: 9.598 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6719, allocations: 353.9 kB / 0.6041 GB, free: 9.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00276/0.6747, allocations: 1.748 MB / 0.6058 GB, free: 7.496 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/0.6778, allocations: 2.256 MB / 0.608 GB, free: 5.102 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006358/0.6842, allocations: 4.334 MB / 0.6123 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/0.6842, allocations: 4 kB / 0.6123 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007428/0.6917, allocations: 4.592 MB / 0.6168 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.6917, allocations: 8 kB / 0.6168 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-05/0.6918, allocations: 12.94 kB / 0.6168 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.744e-05/0.6918, allocations: 28 kB / 0.6168 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003496/0.6953, allocations: 0.7888 MB / 0.6176 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.691e-05/0.6954, allocations: 36.11 kB / 0.6176 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.6977, allocations: 370.5 kB / 0.618 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003025/0.698, allocations: 144 kB / 0.6181 GB, free: 10.8 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.001386/0.6994, allocations: 0.7597 MB / 0.6188 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005819/0.7, allocations: 218.8 kB / 0.619 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008897/0.7089, allocations: 5.172 MB / 0.6241 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.992e-05/0.709, allocations: 40 kB / 0.6241 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.709, allocations: 0.8438 kB / 0.6241 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.021e-05/0.709, allocations: 27.84 kB / 0.6242 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004212/0.7132, allocations: 2.831 MB / 0.6269 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.7133, allocations: 0 / 0.6269 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003435/0.7167, allocations: 0.7279 MB / 0.6276 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-05/0.7167, allocations: 16 kB / 0.6277 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/0.717, allocations: 84.78 kB / 0.6277 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.641e-05/0.717, allocations: 16 kB / 0.6277 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.717, allocations: 0.8438 kB / 0.6278 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/0.7276, allocations: 7.234 MB / 0.6348 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005109/0.7281, allocations: 327.8 kB / 0.6351 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003716/0.7285, allocations: 79.94 kB / 0.6352 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/0.7313, allocations: 218.8 kB / 0.6354 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005991/0.7319, allocations: 319.4 kB / 0.6357 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003844/0.7323, allocations: 176.7 kB / 0.6359 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008593/0.7332, allocations: 0.6871 MB / 0.6366 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.462e-06/0.7332, allocations: 0 / 0.6366 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002282/0.7355, allocations: 1.085 MB / 0.6376 GB, free: 6.895 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.001094/0.7366, allocations: 458.4 kB / 0.6381 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006601/0.7432, allocations: 4.301 MB / 0.6423 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.056e-06/0.7432, allocations: 6 kB / 0.6423 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003176/0.7464, allocations: 2.267 MB / 0.6445 GB, free: 84 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005884/0.7523, allocations: 1.249 MB / 0.6457 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.7641, allocations: 6.712 MB / 0.6522 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.7654, allocations: 1.845 MB / 0.654 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004742/0.7702, allocations: 1.768 MB / 0.6558 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.7712, allocations: 295.3 kB / 0.6561 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of SimCode: time 7.32e-07/0.7712, allocations: 0 / 0.6561 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of Templates: time 0.08564/0.8569, allocations: 64.27 MB / 0.7188 GB, free: 4.449 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