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.001273/0.001273, allocations: 102.2 kB / 16.5 MB, free: 6.688 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.001236/0.001236, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.284/1.284, allocations: 222.9 MB / 241.1 MB, free: 15.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 52.08 kB / 299.9 MB, free: 6.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09275, allocations: 49.45 MB / 349.4 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2844/0.3772, allocations: 149.7 MB / 499.1 MB, free: 15.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3784, allocations: 0.7134 MB / 499.8 MB, free: 14.83 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.3785, allocations: 3.938 kB / 499.8 MB, free: 14.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.3788, allocations: 82.11 kB / 499.9 MB, free: 14.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005768/0.3795, allocations: 274.1 kB / 0.4884 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.3819, allocations: 0.951 MB / 0.4894 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005419/0.3874, allocations: 7.153 MB / 0.4963 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003351/0.3877, allocations: 255.7 kB / 0.4966 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002934/0.3907, allocations: 1.897 MB / 0.4984 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002948/0.3936, allocations: 1.963 MB / 0.5003 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007511/0.3944, allocations: 144 kB / 0.5005 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003429/0.3978, allocations: 1.673 MB / 0.5021 GB, free: 420 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.3991, allocations: 1.083 MB / 0.5032 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002418/0.4016, allocations: 1.424 MB / 0.5046 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005272/0.4069, allocations: 4.394 MB / 0.5089 GB, free: 9.488 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4069, allocations: 0 / 0.5089 GB, free: 9.488 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4069, allocations: 3.984 kB / 0.5089 GB, free: 9.484 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001044/0.407, allocations: 0 / 0.5089 GB, free: 9.484 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.00964/0.4167, allocations: 3.503 MB / 0.5123 GB, free: 5.922 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.4167, allocations: 8.031 kB / 0.5123 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.4186, allocations: 326.5 kB / 0.5126 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.4212, allocations: 1.319 MB / 0.5139 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.4214, allocations: 184.9 kB / 0.5141 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003752/0.4218, allocations: 251.8 kB / 0.5143 GB, free: 3.797 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006017/0.4278, allocations: 3.815 MB / 0.518 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.4279, allocations: 3.938 kB / 0.518 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003399/0.4282, allocations: 120 kB / 0.5182 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.4283, allocations: 56 kB / 0.5182 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008365/0.4366, allocations: 5.982 MB / 0.524 GB, free: 9.758 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.1651/0.6018, allocations: 11.16 MB / 0.5349 GB, free: 160.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006644/0.6084, allocations: 5.038 MB / 0.5399 GB, free: 158.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003283/0.6117, allocations: 2.402 MB / 0.5422 GB, free: 158.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004826/0.6122, allocations: 446 kB / 0.5426 GB, free: 157.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.787e-05/0.6123, allocations: 97.67 kB / 0.5427 GB, free: 157.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 5.08e-06/0.6123, allocations: 1.219 kB / 0.5427 GB, free: 157.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.008831/0.6212, allocations: 5.815 MB / 0.5484 GB, free: 156.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.6212, allocations: 94.22 kB / 0.5485 GB, free: 156.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009987/0.6223, allocations: 0.8702 MB / 0.5493 GB, free: 155.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000345/0.6226, allocations: 107.7 kB / 0.5495 GB, free: 155.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.6228, allocations: 0.5193 MB / 0.55 GB, free: 155.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006664/0.6235, allocations: 1.299 MB / 0.5512 GB, free: 154.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007443/0.6243, allocations: 0.6276 MB / 0.5518 GB, free: 154.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.6243, allocations: 356.6 kB / 0.5522 GB, free: 153.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/0.6265, allocations: 1.752 MB / 0.5539 GB, free: 153 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.6289, allocations: 2.256 MB / 0.5561 GB, free: 151.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004792/0.6337, allocations: 4.334 MB / 0.5603 GB, free: 149.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.6337, allocations: 4.438 kB / 0.5603 GB, free: 149.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005889/0.6396, allocations: 4.578 MB / 0.5648 GB, free: 145.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.6397, allocations: 15.94 kB / 0.5648 GB, free: 145.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.6397, allocations: 12 kB / 0.5648 GB, free: 145.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.175e-05/0.6397, allocations: 24 kB / 0.5649 GB, free: 145.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/0.6431, allocations: 0.796 MB / 0.5656 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.355e-05/0.6432, allocations: 35.92 kB / 0.5657 GB, free: 144.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.6454, allocations: 419.7 kB / 0.5661 GB, free: 144.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/0.6457, allocations: 143.9 kB / 0.5662 GB, free: 144.2 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.001145/0.6468, allocations: 0.7578 MB / 0.5669 GB, free: 143.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004747/0.6473, allocations: 209.8 kB / 0.5671 GB, free: 143.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006885/0.6542, allocations: 5.177 MB / 0.5722 GB, free: 138.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.6542, allocations: 44 kB / 0.5722 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.6542, allocations: 0 / 0.5722 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.87e-05/0.6543, allocations: 19.92 kB / 0.5723 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.658, allocations: 2.817 MB / 0.575 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.658, allocations: 4 kB / 0.575 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003172/0.6612, allocations: 0.727 MB / 0.5757 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.486e-05/0.6612, allocations: 15.94 kB / 0.5757 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/0.6614, allocations: 95.8 kB / 0.5758 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.411e-05/0.6614, allocations: 16 kB / 0.5758 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6614, allocations: 3.938 kB / 0.5758 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008117/0.6695, allocations: 7.221 MB / 0.5829 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.6699, allocations: 321.9 kB / 0.5832 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/0.6702, allocations: 83.83 kB / 0.5833 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002733/0.673, allocations: 292.6 kB / 0.5836 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005099/0.6735, allocations: 314.6 kB / 0.5839 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003033/0.6738, allocations: 183.9 kB / 0.584 GB, free: 125.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000617/0.6744, allocations: 0.6863 MB / 0.5847 GB, free: 125.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6744, allocations: 0 / 0.5847 GB, free: 125.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001863/0.6763, allocations: 1.087 MB / 0.5858 GB, free: 124.2 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.0009066/0.6772, allocations: 436.6 kB / 0.5862 GB, free: 123.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004993/0.6822, allocations: 4.273 MB / 0.5904 GB, free: 119.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6822, allocations: 10.62 kB / 0.5904 GB, free: 119.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00243/0.6847, allocations: 2.259 MB / 0.5926 GB, free: 117.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004511/0.6892, allocations: 1.235 MB / 0.5938 GB, free: 116 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009428/0.6986, allocations: 7.649 MB / 0.6013 GB, free: 108.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009087/0.6996, allocations: 1.845 MB / 0.6031 GB, free: 106.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00476/0.7043, allocations: 1.764 MB / 0.6048 GB, free: 104.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009606/0.7053, allocations: 291.3 kB / 0.6051 GB, free: 104.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/0.7053, allocations: 0 / 0.6051 GB, free: 104.4 MB / 446.1 MB Notification: Performance of Templates: time 0.06729/0.7726, allocations: 60.76 MB / 0.6644 GB, free: 43.97 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/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