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.001429/0.001429, allocations: 114.9 kB / 17.69 MB, free: 5.312 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.001166/0.001166, allocations: 192 kB / 18.63 MB, free: 4.379 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.294/1.294, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 42.64 kB / 302 MB, free: 5.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08075/0.08186, allocations: 49.45 MB / 351.5 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2981/0.38, allocations: 151.8 MB / 0.4915 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3812, allocations: 0.7035 MB / 0.4922 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.532e-05/0.3813, allocations: 7.938 kB / 0.4922 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.3816, allocations: 71.52 kB / 0.4923 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005297/0.3822, allocations: 291.5 kB / 0.4926 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.3848, allocations: 1.114 MB / 0.4937 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004642/0.3895, allocations: 5.593 MB / 0.4991 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/0.3898, allocations: 267.7 kB / 0.4994 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.393, allocations: 2.164 MB / 0.5015 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003221/0.3963, allocations: 1.971 MB / 0.5034 GB, free: 168 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007251/0.397, allocations: 240 kB / 0.5037 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003932/0.4009, allocations: 1.732 MB / 0.5053 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001365/0.4023, allocations: 1.22 MB / 0.5065 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002662/0.405, allocations: 1.557 MB / 0.5081 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005482/0.4105, allocations: 4.535 MB / 0.5125 GB, free: 6.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.4105, allocations: 0 / 0.5125 GB, free: 6.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.819e-06/0.4105, allocations: 4 kB / 0.5125 GB, free: 6.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.158e-05/0.4106, allocations: 3.938 kB / 0.5125 GB, free: 6.855 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.008726/0.4193, allocations: 3.488 MB / 0.5159 GB, free: 3.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.4194, allocations: 12.03 kB / 0.5159 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.4212, allocations: 326.5 kB / 0.5162 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.4245, allocations: 1.343 MB / 0.5175 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.4247, allocations: 180.9 kB / 0.5177 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003938/0.4251, allocations: 243.9 kB / 0.5179 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006043/0.4311, allocations: 3.819 MB / 0.5217 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/0.4312, allocations: 0 / 0.5217 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003375/0.4315, allocations: 116 kB / 0.5218 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.4316, allocations: 56 kB / 0.5218 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008591/0.4402, allocations: 5.994 MB / 0.5277 GB, free: 7.113 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.1754/0.6156, allocations: 11.19 MB / 0.5386 GB, free: 161.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006942/0.6226, allocations: 5.034 MB / 0.5435 GB, free: 159.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003205/0.6258, allocations: 2.409 MB / 0.5459 GB, free: 158.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004726/0.6263, allocations: 435.1 kB / 0.5463 GB, free: 158.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.133e-05/0.6264, allocations: 100 kB / 0.5464 GB, free: 158.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 5.019e-06/0.6264, allocations: 0 / 0.5464 GB, free: 158.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.009282/0.6357, allocations: 5.82 MB / 0.5521 GB, free: 156.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.6357, allocations: 93.08 kB / 0.5522 GB, free: 156.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008499/0.6366, allocations: 0.8702 MB / 0.553 GB, free: 155.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004037/0.637, allocations: 111.9 kB / 0.5531 GB, free: 155.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.6373, allocations: 0.5159 MB / 0.5536 GB, free: 155.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006625/0.6379, allocations: 1.305 MB / 0.5549 GB, free: 154.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007747/0.6387, allocations: 0.6234 MB / 0.5555 GB, free: 153.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.405e-05/0.6388, allocations: 357.2 kB / 0.5558 GB, free: 153.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002146/0.6409, allocations: 1.746 MB / 0.5576 GB, free: 152.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002414/0.6434, allocations: 2.263 MB / 0.5598 GB, free: 151.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004795/0.6482, allocations: 4.33 MB / 0.564 GB, free: 147.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.6482, allocations: 0 / 0.564 GB, free: 147.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005774/0.654, allocations: 4.588 MB / 0.5685 GB, free: 143 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.654, allocations: 12 kB / 0.5685 GB, free: 143 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.654, allocations: 12 kB / 0.5685 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/0.6541, allocations: 27.94 kB / 0.5685 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003311/0.6574, allocations: 0.7912 MB / 0.5693 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.426e-05/0.6575, allocations: 31.94 kB / 0.5693 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/0.6596, allocations: 362 kB / 0.5697 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002595/0.6599, allocations: 152.2 kB / 0.5698 GB, free: 141.6 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.001222/0.6611, allocations: 0.7621 MB / 0.5706 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005053/0.6616, allocations: 209.8 kB / 0.5708 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007063/0.6687, allocations: 5.164 MB / 0.5758 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.6688, allocations: 44 kB / 0.5758 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.6688, allocations: 0 / 0.5758 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.188e-05/0.6688, allocations: 19.92 kB / 0.5759 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003689/0.6725, allocations: 2.821 MB / 0.5786 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.6725, allocations: 1.25 kB / 0.5786 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003159/0.6757, allocations: 0.7294 MB / 0.5793 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.553e-05/0.6757, allocations: 16 kB / 0.5793 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002314/0.676, allocations: 95.89 kB / 0.5794 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.767e-05/0.676, allocations: 16 kB / 0.5795 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.676, allocations: 0 / 0.5795 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008599/0.6846, allocations: 7.21 MB / 0.5865 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/0.6851, allocations: 321.9 kB / 0.5868 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003469/0.6855, allocations: 87.77 kB / 0.5869 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00261/0.6881, allocations: 230.6 kB / 0.5871 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004927/0.6886, allocations: 306.9 kB / 0.5874 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003429/0.689, allocations: 187.8 kB / 0.5876 GB, free: 123.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000646/0.6896, allocations: 0.6785 MB / 0.5882 GB, free: 122.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6896, allocations: 4 kB / 0.5882 GB, free: 122.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002009/0.6916, allocations: 1.082 MB / 0.5893 GB, free: 121.6 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.000991/0.6926, allocations: 439.6 kB / 0.5897 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005673/0.6983, allocations: 4.305 MB / 0.5939 GB, free: 116.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.6983, allocations: 5 kB / 0.5939 GB, free: 116.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002543/0.7009, allocations: 2.267 MB / 0.5961 GB, free: 114.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004652/0.7056, allocations: 1.25 MB / 0.5974 GB, free: 113.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009588/0.7152, allocations: 6.651 MB / 0.6039 GB, free: 106.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008674/0.7161, allocations: 1.842 MB / 0.6057 GB, free: 104.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004328/0.7204, allocations: 1.775 MB / 0.6074 GB, free: 103 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009904/0.7214, allocations: 287.3 kB / 0.6077 GB, free: 102.7 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7214, allocations: 4 kB / 0.6077 GB, free: 102.7 MB / 446.1 MB Notification: Performance of Templates: time 0.07108/0.7925, allocations: 63.46 MB / 0.6696 GB, free: 39.66 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 -s gbode -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