Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007452/0.0007452, allocations: 95.19 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008993/0.0008994, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000214/0.000214, allocations: 8 kB / 307.7 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0867/0.08693, allocations: 51.52 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3055/0.3925, allocations: 150.7 MB / 0.498 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3936, allocations: 0.7092 MB / 0.4987 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.3937, allocations: 3.938 kB / 0.4987 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.394, allocations: 71.61 kB / 0.4987 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005016/0.3945, allocations: 282 kB / 0.499 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.397, allocations: 0.9551 MB / 0.4999 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005779/0.4028, allocations: 7.149 MB / 0.5069 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.4031, allocations: 261.4 kB / 0.5072 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.4057, allocations: 1.905 MB / 0.509 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002572/0.4083, allocations: 1.963 MB / 0.5109 GB, free: 7.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004204/0.4087, allocations: 140 kB / 0.5111 GB, free: 7.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003146/0.4119, allocations: 1.727 MB / 0.5128 GB, free: 5.629 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.4129, allocations: 1.079 MB / 0.5138 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.4146, allocations: 1.433 MB / 0.5152 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004455/0.4191, allocations: 4.409 MB / 0.5195 GB, free: 14.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4191, allocations: 0 / 0.5195 GB, free: 14.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4191, allocations: 0 / 0.5195 GB, free: 14.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.042e-05/0.4192, allocations: 4 kB / 0.5195 GB, free: 14.68 MB / 446.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.007834/0.427, allocations: 2.887 MB / 0.5223 GB, free: 11.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.4271, allocations: 15.97 kB / 0.5224 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.4288, allocations: 328.3 kB / 0.5227 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.4311, allocations: 1.331 MB / 0.524 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.4313, allocations: 180.9 kB / 0.5241 GB, free: 9.836 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004157/0.4317, allocations: 239.9 kB / 0.5244 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006225/0.4379, allocations: 3.823 MB / 0.5281 GB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.438, allocations: 0 / 0.5281 GB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000356/0.4384, allocations: 112 kB / 0.5282 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/0.4384, allocations: 60 kB / 0.5283 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1654/0.6039, allocations: 5.981 MB / 0.5341 GB, free: 156.8 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.02087/0.6248, allocations: 11.19 MB / 0.545 GB, free: 151.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006986/0.6318, allocations: 5.043 MB / 0.55 GB, free: 149.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00331/0.6351, allocations: 2.405 MB / 0.5523 GB, free: 148.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004686/0.6356, allocations: 446.4 kB / 0.5527 GB, free: 148.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.934e-05/0.6357, allocations: 97.94 kB / 0.5528 GB, free: 148.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 6.182e-06/0.6357, allocations: 0 / 0.5528 GB, free: 148.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.008727/0.6444, allocations: 5.812 MB / 0.5585 GB, free: 145.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.6445, allocations: 95.53 kB / 0.5586 GB, free: 145.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008692/0.6454, allocations: 0.8729 MB / 0.5594 GB, free: 145.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000374/0.6458, allocations: 105.1 kB / 0.5595 GB, free: 145 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.646, allocations: 0.5191 MB / 0.5601 GB, free: 144.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006987/0.6467, allocations: 1.303 MB / 0.5613 GB, free: 143.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/0.6471, allocations: 288 kB / 0.5616 GB, free: 143.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.6472, allocations: 354.2 kB / 0.5619 GB, free: 142.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/0.6495, allocations: 1.742 MB / 0.5636 GB, free: 141.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002511/0.6521, allocations: 2.258 MB / 0.5658 GB, free: 139.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005117/0.6572, allocations: 4.341 MB / 0.5701 GB, free: 134.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.6572, allocations: 4 kB / 0.5701 GB, free: 134.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006046/0.6633, allocations: 4.586 MB / 0.5746 GB, free: 130.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.6633, allocations: 8 kB / 0.5746 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.6633, allocations: 16.83 kB / 0.5746 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-05/0.6634, allocations: 28 kB / 0.5746 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/0.6666, allocations: 0.7956 MB / 0.5754 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.265e-05/0.6667, allocations: 35.92 kB / 0.5754 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.6691, allocations: 425.4 kB / 0.5758 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/0.6694, allocations: 143.9 kB / 0.576 GB, free: 128.8 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.001151/0.6706, allocations: 0.766 MB / 0.5767 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004855/0.6711, allocations: 213.7 kB / 0.5769 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007948/0.679, allocations: 5.174 MB / 0.582 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/0.6791, allocations: 40 kB / 0.582 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.6791, allocations: 0 / 0.582 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.209e-05/0.6791, allocations: 19.92 kB / 0.582 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/0.6831, allocations: 2.817 MB / 0.5848 GB, free: 119.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.6832, allocations: 0.6875 kB / 0.5848 GB, free: 119.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003213/0.6864, allocations: 0.7332 MB / 0.5855 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-05/0.6864, allocations: 16 kB / 0.5855 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002296/0.6867, allocations: 99.89 kB / 0.5856 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-05/0.6867, allocations: 12.88 kB / 0.5856 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6867, allocations: 4 kB / 0.5856 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008646/0.6953, allocations: 7.21 MB / 0.5927 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004776/0.6958, allocations: 357.7 kB / 0.593 GB, free: 111.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003471/0.6962, allocations: 79.98 kB / 0.5931 GB, free: 111.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003072/0.6993, allocations: 303.4 kB / 0.5934 GB, free: 110.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005197/0.6998, allocations: 314.9 kB / 0.5937 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003412/0.7001, allocations: 177.8 kB / 0.5938 GB, free: 110.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000654/0.7008, allocations: 0.6863 MB / 0.5945 GB, free: 109.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7008, allocations: 0 / 0.5945 GB, free: 109.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001984/0.7028, allocations: 1.088 MB / 0.5956 GB, free: 108.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.0009739/0.7038, allocations: 447.5 kB / 0.596 GB, free: 108.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005215/0.709, allocations: 4.278 MB / 0.6002 GB, free: 103.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.709, allocations: 9.125 kB / 0.6002 GB, free: 103.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002533/0.7116, allocations: 2.259 MB / 0.6024 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00518/0.7168, allocations: 1.243 MB / 0.6036 GB, free: 100.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.7268, allocations: 7.975 MB / 0.6114 GB, free: 92.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008889/0.7278, allocations: 1.841 MB / 0.6132 GB, free: 90.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005088/0.7328, allocations: 1.775 MB / 0.6149 GB, free: 88.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009568/0.7338, allocations: 291.3 kB / 0.6152 GB, free: 88.48 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.7338, allocations: 0 / 0.6152 GB, free: 88.48 MB / 446.1 MB Notification: Performance of Templates: time 0.06883/0.8027, allocations: 60.32 MB / 0.6741 GB, free: 28.49 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches