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.001231/0.001231, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.001347/0.001347, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.342/1.342, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 48.08 kB / 300.6 MB, free: 6.344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09257/0.09372, allocations: 49.45 MB / 350 MB, free: 4.883 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3207/0.4144, allocations: 149.7 MB / 499.7 MB, free: 15.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.4163, allocations: 0.7211 MB / 0.4887 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.4165, allocations: 0 / 0.4887 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005168/0.417, allocations: 78.75 kB / 0.4888 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000788/0.4179, allocations: 277.6 kB / 0.4891 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004193/0.4221, allocations: 0.9589 MB / 0.49 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008684/0.4308, allocations: 7.145 MB / 0.497 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005282/0.4314, allocations: 263.6 kB / 0.4972 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005049/0.4364, allocations: 1.893 MB / 0.4991 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00518/0.4417, allocations: 1.963 MB / 0.501 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001233/0.4429, allocations: 140 kB / 0.5011 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006091/0.4491, allocations: 1.681 MB / 0.5028 GB, free: 456 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002654/0.4518, allocations: 1.079 MB / 0.5038 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004395/0.4562, allocations: 1.42 MB / 0.5052 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006123/0.4623, allocations: 3.302 MB / 0.5084 GB, free: 10.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.4624, allocations: 3.984 kB / 0.5084 GB, free: 10.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4624, allocations: 0 / 0.5084 GB, free: 10.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.993e-05/0.4625, allocations: 4 kB / 0.5084 GB, free: 10.62 MB / 430.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.01231/0.4749, allocations: 3.488 MB / 0.5118 GB, free: 7.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4749, allocations: 12.03 kB / 0.5119 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.4769, allocations: 330.5 kB / 0.5122 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.4799, allocations: 1.315 MB / 0.5135 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.48, allocations: 180.9 kB / 0.5136 GB, free: 5.195 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005399/0.4806, allocations: 247.9 kB / 0.5139 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007188/0.4878, allocations: 3.819 MB / 0.5176 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.321e-05/0.4879, allocations: 0 / 0.5176 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004409/0.4883, allocations: 116 kB / 0.5177 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/0.4884, allocations: 56 kB / 0.5178 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.4989, allocations: 5.99 MB / 0.5236 GB, free: 10.91 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.187/0.6859, allocations: 11.17 MB / 0.5345 GB, free: 161.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008206/0.6942, allocations: 5.038 MB / 0.5394 GB, free: 160.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004125/0.6984, allocations: 2.408 MB / 0.5418 GB, free: 160 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006418/0.6991, allocations: 437 kB / 0.5422 GB, free: 159.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.466e-05/0.6992, allocations: 99.27 kB / 0.5423 GB, free: 159.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 5.54e-06/0.6992, allocations: 0 / 0.5423 GB, free: 159.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.01075/0.7099, allocations: 5.812 MB / 0.548 GB, free: 158 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.71, allocations: 96.34 kB / 0.5481 GB, free: 157.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.7112, allocations: 0.8748 MB / 0.5489 GB, free: 157.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005803/0.7118, allocations: 100.4 kB / 0.549 GB, free: 157.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.712, allocations: 0.5157 MB / 0.5495 GB, free: 157.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001008/0.713, allocations: 1.305 MB / 0.5508 GB, free: 156.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008906/0.7139, allocations: 0.6335 MB / 0.5514 GB, free: 155.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.714, allocations: 356.6 kB / 0.5518 GB, free: 155.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/0.7164, allocations: 1.74 MB / 0.5535 GB, free: 155.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002779/0.7192, allocations: 2.264 MB / 0.5557 GB, free: 153.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005512/0.7248, allocations: 4.333 MB / 0.5599 GB, free: 151.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/0.7248, allocations: 7.938 kB / 0.5599 GB, free: 151.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006698/0.7315, allocations: 4.584 MB / 0.5644 GB, free: 146.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.7316, allocations: 12 kB / 0.5644 GB, free: 146.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.7316, allocations: 8 kB / 0.5644 GB, free: 146.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.48e-05/0.7316, allocations: 31.75 kB / 0.5644 GB, free: 146.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003544/0.7352, allocations: 0.7877 MB / 0.5652 GB, free: 145.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.525e-05/0.7353, allocations: 31.92 kB / 0.5652 GB, free: 145.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/0.7378, allocations: 422.5 kB / 0.5656 GB, free: 145.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003493/0.7382, allocations: 143.9 kB / 0.5658 GB, free: 145.3 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.001322/0.7395, allocations: 0.7582 MB / 0.5665 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005463/0.7401, allocations: 214.8 kB / 0.5667 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007636/0.7477, allocations: 5.172 MB / 0.5718 GB, free: 139.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/0.7478, allocations: 40 kB / 0.5718 GB, free: 139.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.7478, allocations: 0 / 0.5718 GB, free: 139.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.812e-05/0.7479, allocations: 19.92 kB / 0.5718 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004243/0.7521, allocations: 2.831 MB / 0.5746 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.7521, allocations: 0 / 0.5746 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003373/0.7555, allocations: 0.7294 MB / 0.5753 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.002e-05/0.7556, allocations: 16 kB / 0.5753 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003147/0.7559, allocations: 99.89 kB / 0.5754 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.621e-05/0.7559, allocations: 12 kB / 0.5754 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7559, allocations: 4 kB / 0.5754 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008933/0.7649, allocations: 7.217 MB / 0.5825 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005301/0.7654, allocations: 321.9 kB / 0.5828 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005493/0.766, allocations: 87.78 kB / 0.5829 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002956/0.769, allocations: 287.5 kB / 0.5831 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005797/0.7696, allocations: 318.9 kB / 0.5834 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003766/0.7699, allocations: 171.9 kB / 0.5836 GB, free: 127.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006889/0.7706, allocations: 0.6902 MB / 0.5843 GB, free: 126.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7707, allocations: 0 / 0.5843 GB, free: 126.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002215/0.7729, allocations: 1.082 MB / 0.5853 GB, free: 125.3 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.001043/0.7739, allocations: 444.5 kB / 0.5858 GB, free: 124.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005895/0.7798, allocations: 4.282 MB / 0.5899 GB, free: 120.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.7799, allocations: 5 kB / 0.5899 GB, free: 120.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002856/0.7827, allocations: 2.263 MB / 0.5922 GB, free: 118.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005323/0.7881, allocations: 1.229 MB / 0.5934 GB, free: 117.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.7985, allocations: 7.75 MB / 0.6009 GB, free: 109.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008954/0.7994, allocations: 1.849 MB / 0.6027 GB, free: 107.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/0.8011, allocations: 327.3 kB / 0.603 GB, free: 107.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.8011, allocations: 0 / 0.603 GB, free: 107.1 MB / 446.1 MB Notification: Performance of Templates: time 0.05163/0.8527, allocations: 46.56 MB / 0.6485 GB, free: 60.68 MB / 446.1 MB 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/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_4.0.0_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches