Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0007926/0.0007927, allocations: 101.4 kB / 17.31 MB, free: 6.344 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.0008312/0.0008313, allocations: 177.5 kB / 18.2 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004346, allocations: 8 kB / 281.4 MB, free: 3.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07961/0.08005, allocations: 47.59 MB / 329 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3058/0.3859, allocations: 149 MB / 477.9 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.3876, allocations: 0.9845 MB / 478.9 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.3877, allocations: 6.938 kB / 478.9 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.3881, allocations: 74.38 kB / 479 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006637/0.3888, allocations: 274.8 kB / 479.3 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003245/0.392, allocations: 1.124 MB / 480.4 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006288/0.3983, allocations: 7.157 MB / 487.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.3988, allocations: 254.2 kB / 487.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00381/0.4026, allocations: 1.901 MB / 489.7 MB, free: 8.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00411/0.4068, allocations: 1.963 MB / 491.7 MB, free: 6.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00111/0.4079, allocations: 140 kB / 491.8 MB, free: 6.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004547/0.4125, allocations: 1.837 MB / 493.6 MB, free: 4.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.4143, allocations: 1.083 MB / 494.7 MB, free: 3.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002743/0.417, allocations: 1.437 MB / 496.2 MB, free: 2.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005915/0.423, allocations: 4.487 MB / 0.4889 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.423, allocations: 0 / 0.4889 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.423, allocations: 4 kB / 0.4889 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.538e-05/0.4231, allocations: 0 / 0.4889 GB, free: 13.88 MB / 398.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.007844/0.4309, allocations: 2.902 MB / 0.4918 GB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.431, allocations: 8.031 kB / 0.4918 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/0.4329, allocations: 330.1 kB / 0.4921 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.4354, allocations: 1.328 MB / 0.4934 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.4356, allocations: 180.9 kB / 0.4935 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004926/0.4361, allocations: 247.6 kB / 0.4938 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006282/0.4424, allocations: 3.819 MB / 0.4975 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.4424, allocations: 0 / 0.4975 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003854/0.4428, allocations: 112 kB / 0.4976 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.687e-05/0.4429, allocations: 56 kB / 0.4977 GB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008774/0.4516, allocations: 5.994 MB / 0.5035 GB, free: 14.75 MB / 414.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.02069/0.4724, allocations: 11.2 MB / 0.5145 GB, free: 2.707 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007562/0.48, allocations: 5.046 MB / 0.5194 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003613/0.4836, allocations: 2.404 MB / 0.5217 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006182/0.4843, allocations: 435.3 kB / 0.5222 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.4844, allocations: 98.62 kB / 0.5222 GB, free: 10.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 7.464e-06/0.4844, allocations: 2.531 kB / 0.5223 GB, free: 10.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.0112/0.4956, allocations: 5.808 MB / 0.5279 GB, free: 4.789 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.4958, allocations: 90.47 kB / 0.528 GB, free: 4.688 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.4975, allocations: 0.879 MB / 0.5289 GB, free: 3.801 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000759/0.4983, allocations: 101.7 kB / 0.529 GB, free: 3.695 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/0.4988, allocations: 0.5188 MB / 0.5295 GB, free: 3.168 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001759/0.5006, allocations: 1.305 MB / 0.5307 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006189/0.5013, allocations: 289.2 kB / 0.531 GB, free: 1.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.5015, allocations: 353.9 kB / 0.5314 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1763/0.6778, allocations: 1.739 MB / 0.5331 GB, free: 160.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004029/0.6818, allocations: 2.26 MB / 0.5353 GB, free: 160.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007132/0.689, allocations: 4.33 MB / 0.5395 GB, free: 159.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/0.689, allocations: 3.781 kB / 0.5395 GB, free: 159.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007699/0.6967, allocations: 4.585 MB / 0.544 GB, free: 158.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.6968, allocations: 9.625 kB / 0.544 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.6968, allocations: 11 kB / 0.544 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.096e-05/0.6969, allocations: 31.44 kB / 0.544 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003443/0.7004, allocations: 0.7905 MB / 0.5448 GB, free: 158 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.494e-05/0.7004, allocations: 38.72 kB / 0.5448 GB, free: 158 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/0.7028, allocations: 429.8 kB / 0.5452 GB, free: 157.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/0.7031, allocations: 149.4 kB / 0.5454 GB, free: 157.8 MB / 430.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.001146/0.7042, allocations: 0.7614 MB / 0.5461 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004255/0.7047, allocations: 205.9 kB / 0.5463 GB, free: 157.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007517/0.7122, allocations: 5.179 MB / 0.5514 GB, free: 155.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.7122, allocations: 40.88 kB / 0.5514 GB, free: 155.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.7123, allocations: 3.75 kB / 0.5514 GB, free: 155.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.253e-05/0.7123, allocations: 19.92 kB / 0.5514 GB, free: 155.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0037/0.716, allocations: 2.813 MB / 0.5542 GB, free: 152.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.716, allocations: 0 / 0.5542 GB, free: 152.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003181/0.7192, allocations: 0.7332 MB / 0.5549 GB, free: 152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.845e-05/0.7192, allocations: 12 kB / 0.5549 GB, free: 152 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/0.7194, allocations: 99.89 kB / 0.555 GB, free: 151.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.468e-05/0.7195, allocations: 17.12 kB / 0.555 GB, free: 151.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7195, allocations: 0 / 0.555 GB, free: 151.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008246/0.7277, allocations: 7.217 MB / 0.5621 GB, free: 144.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005005/0.7283, allocations: 353.8 kB / 0.5624 GB, free: 144.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/0.7286, allocations: 72 kB / 0.5625 GB, free: 144.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00294/0.7315, allocations: 299.2 kB / 0.5628 GB, free: 143.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005156/0.7321, allocations: 314.1 kB / 0.5631 GB, free: 143.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003007/0.7324, allocations: 183.6 kB / 0.5632 GB, free: 143.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006536/0.733, allocations: 0.6824 MB / 0.5639 GB, free: 142.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.733, allocations: 3.406 kB / 0.5639 GB, free: 142.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001933/0.735, allocations: 1.096 MB / 0.565 GB, free: 141.7 MB / 430.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.001038/0.736, allocations: 466.3 kB / 0.5654 GB, free: 141.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005253/0.7413, allocations: 4.281 MB / 0.5696 GB, free: 137 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.7413, allocations: 5 kB / 0.5696 GB, free: 137 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002558/0.7439, allocations: 2.259 MB / 0.5718 GB, free: 134.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00561/0.7495, allocations: 1.233 MB / 0.573 GB, free: 133.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.7604, allocations: 7.976 MB / 0.5808 GB, free: 125.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009532/0.7614, allocations: 1.845 MB / 0.5826 GB, free: 123.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005285/0.7667, allocations: 1.764 MB / 0.5843 GB, free: 121.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009513/0.7676, allocations: 295.3 kB / 0.5846 GB, free: 121.5 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7676, allocations: 0 / 0.5846 GB, free: 121.5 MB / 430.1 MB Notification: Performance of Templates: time 0.07141/0.8391, allocations: 60.48 MB / 0.6437 GB, free: 60.99 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches