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.00117/0.00117, allocations: 96.14 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001522/0.001522, allocations: 204.2 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002166/0.0002166, allocations: 11.98 kB / 306.6 MB, free: 1.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08129/0.08152, allocations: 51.49 MB / 358 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2788/0.3604, allocations: 127.7 MB / 485.7 MB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.3618, allocations: 0.8664 MB / 486.6 MB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.755e-05/0.3619, allocations: 0 / 486.6 MB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.3622, allocations: 71.62 kB / 486.7 MB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004711/0.3627, allocations: 215.5 kB / 486.9 MB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.3647, allocations: 0.7668 MB / 487.6 MB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002972/0.3677, allocations: 3.072 MB / 490.7 MB, free: 7.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003009/0.368, allocations: 263.9 kB / 491 MB, free: 7.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002728/0.3707, allocations: 1.89 MB / 492.9 MB, free: 5.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002478/0.3732, allocations: 1.621 MB / 494.5 MB, free: 3.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003962/0.3736, allocations: 144 kB / 494.6 MB, free: 3.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.3763, allocations: 1.373 MB / 496 MB, free: 2.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.3773, allocations: 1.013 MB / 497 MB, free: 1.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006404/0.378, allocations: 0.4967 MB / 497.5 MB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00297/0.381, allocations: 3.173 MB / 0.4889 GB, free: 13.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.381, allocations: 0 / 0.4889 GB, free: 13.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.381, allocations: 0 / 0.4889 GB, free: 13.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.516e-05/0.381, allocations: 0 / 0.4889 GB, free: 13.73 MB / 414.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.007468/0.3885, allocations: 2.893 MB / 0.4918 GB, free: 10.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3886, allocations: 15.97 kB / 0.4918 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.3903, allocations: 325.2 kB / 0.4921 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/0.3933, allocations: 1.3 MB / 0.4934 GB, free: 9.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.3935, allocations: 184.8 kB / 0.4935 GB, free: 8.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003724/0.3939, allocations: 247.8 kB / 0.4938 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005718/0.3996, allocations: 3.776 MB / 0.4975 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.3996, allocations: 4 kB / 0.4975 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000333/0.4, allocations: 114 kB / 0.4976 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.605e-05/0.4, allocations: 60 kB / 0.4976 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008502/0.4085, allocations: 5.967 MB / 0.5035 GB, free: 14.7 MB / 430.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.02091/0.4295, allocations: 11.19 MB / 0.5144 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006904/0.4364, allocations: 5.018 MB / 0.5193 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005265/0.437, allocations: 439.3 kB / 0.5197 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.515e-05/0.4371, allocations: 102.5 kB / 0.5198 GB, free: 13.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 4.879e-06/0.4371, allocations: 0 / 0.5198 GB, free: 13.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.008817/0.4459, allocations: 5.785 MB / 0.5255 GB, free: 7.199 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.446, allocations: 94.47 kB / 0.5255 GB, free: 7.094 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009946/0.447, allocations: 0.8635 MB / 0.5264 GB, free: 6.219 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003394/0.4473, allocations: 97.7 kB / 0.5265 GB, free: 6.117 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.4477, allocations: 0.5188 MB / 0.527 GB, free: 5.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009815/0.4487, allocations: 1.301 MB / 0.5283 GB, free: 4.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.4488, allocations: 68 kB / 0.5283 GB, free: 4.203 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002574/0.4491, allocations: 0.5022 MB / 0.5288 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002683/0.4518, allocations: 1.728 MB / 0.5305 GB, free: 1.961 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1557/0.6075, allocations: 2.231 MB / 0.5327 GB, free: 154.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003786/0.6113, allocations: 2.1 MB / 0.5347 GB, free: 154.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.6113, allocations: 3.562 kB / 0.5347 GB, free: 154.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007431/0.6188, allocations: 4.566 MB / 0.5392 GB, free: 153.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.6188, allocations: 13.12 kB / 0.5392 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.6188, allocations: 12.56 kB / 0.5392 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.12e-05/0.6189, allocations: 29.42 kB / 0.5392 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003571/0.6225, allocations: 0.7923 MB / 0.54 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.692e-05/0.6225, allocations: 32.97 kB / 0.54 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/0.6251, allocations: 423.9 kB / 0.5405 GB, free: 153.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003301/0.6254, allocations: 144.8 kB / 0.5406 GB, free: 153.4 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[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 initialization (450): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001584/0.627, allocations: 0.763 MB / 0.5413 GB, free: 153 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005234/0.6276, allocations: 210 kB / 0.5415 GB, free: 152.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008306/0.6359, allocations: 5.18 MB / 0.5466 GB, free: 151.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/0.6359, allocations: 39.88 kB / 0.5466 GB, free: 151.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.636, allocations: 1.375 kB / 0.5466 GB, free: 151.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.123e-05/0.636, allocations: 22.08 kB / 0.5467 GB, free: 151.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004024/0.64, allocations: 2.82 MB / 0.5494 GB, free: 150.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.64, allocations: 3.938 kB / 0.5494 GB, free: 150.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003267/0.6433, allocations: 0.7255 MB / 0.5501 GB, free: 150.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-05/0.6434, allocations: 19.28 kB / 0.5501 GB, free: 150.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002621/0.6436, allocations: 93.72 kB / 0.5502 GB, free: 150.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.49e-05/0.6437, allocations: 20.94 kB / 0.5503 GB, free: 150.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6437, allocations: 3.984 kB / 0.5503 GB, free: 150.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008092/0.6518, allocations: 7.182 MB / 0.5573 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/0.6522, allocations: 354.1 kB / 0.5576 GB, free: 146.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003125/0.6526, allocations: 68 kB / 0.5577 GB, free: 146.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002724/0.6553, allocations: 308.7 kB / 0.558 GB, free: 146.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004193/0.6557, allocations: 318.8 kB / 0.5583 GB, free: 145.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000273/0.656, allocations: 183.7 kB / 0.5584 GB, free: 145.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006165/0.6566, allocations: 0.6707 MB / 0.5591 GB, free: 145.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6566, allocations: 0 / 0.5591 GB, free: 145.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001942/0.6586, allocations: 1.088 MB / 0.5602 GB, free: 144 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008912/0.6595, allocations: 447.2 kB / 0.5606 GB, free: 143.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004935/0.6644, allocations: 4.249 MB / 0.5647 GB, free: 139.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.6644, allocations: 12.44 kB / 0.5647 GB, free: 139.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002346/0.6668, allocations: 2.251 MB / 0.5669 GB, free: 137.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004356/0.6712, allocations: 1.172 MB / 0.5681 GB, free: 136 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009646/0.6808, allocations: 7.751 MB / 0.5757 GB, free: 128.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008917/0.6817, allocations: 1.88 MB / 0.5775 GB, free: 126.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004568/0.6863, allocations: 1.771 MB / 0.5792 GB, free: 124.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009299/0.6873, allocations: 295.3 kB / 0.5795 GB, free: 124.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.021e-06/0.6873, allocations: 0 / 0.5795 GB, free: 124.2 MB / 446.1 MB Notification: Performance of Templates: time 0.06694/0.7542, allocations: 58.28 MB / 0.6364 GB, free: 66.24 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","../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches