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.001283/0.001283, allocations: 107.6 kB / 18.4 MB, free: 4.68 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.001248/0.001248, allocations: 183.1 kB / 19.33 MB, free: 3.758 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.298/1.298, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001245/0.001245, allocations: 43.92 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08007/0.08133, allocations: 46.63 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3247/0.4061, allocations: 153.1 MB / 0.5165 GB, free: 6.125 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.4079, allocations: 0.9511 MB / 0.5175 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.4081, allocations: 4 kB / 0.5175 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.4086, allocations: 75.5 kB / 0.5175 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007836/0.4094, allocations: 294.6 kB / 0.5178 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.4133, allocations: 1.308 MB / 0.5191 GB, free: 3.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004672/0.4179, allocations: 5.601 MB / 0.5246 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004348/0.4184, allocations: 267.7 kB / 0.5248 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003511/0.422, allocations: 2.224 MB / 0.527 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003515/0.4255, allocations: 1.971 MB / 0.5289 GB, free: 9.391 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001149/0.4267, allocations: 236 kB / 0.5291 GB, free: 9.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004992/0.4317, allocations: 1.935 MB / 0.531 GB, free: 7.223 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002237/0.434, allocations: 1.235 MB / 0.5322 GB, free: 5.984 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003536/0.4375, allocations: 1.561 MB / 0.5338 GB, free: 4.418 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008438/0.446, allocations: 4.625 MB / 0.5383 GB, free: 15.78 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.446, allocations: 0 / 0.5383 GB, free: 15.78 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.446, allocations: 0 / 0.5383 GB, free: 15.78 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000154/0.4462, allocations: 0 / 0.5383 GB, free: 15.78 MB / 478.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.01068/0.4569, allocations: 3.519 MB / 0.5417 GB, free: 12.2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.4569, allocations: 8.031 kB / 0.5417 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/0.4592, allocations: 326.2 kB / 0.542 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/0.4622, allocations: 1.336 MB / 0.5433 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001827/0.4624, allocations: 180.9 kB / 0.5435 GB, free: 10.31 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006339/0.4631, allocations: 243.9 kB / 0.5437 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007369/0.4705, allocations: 3.819 MB / 0.5475 GB, free: 6.207 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-05/0.4705, allocations: 3.938 kB / 0.5475 GB, free: 6.203 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005372/0.4711, allocations: 116 kB / 0.5476 GB, free: 6.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-05/0.4711, allocations: 56 kB / 0.5476 GB, free: 6.035 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009328/0.4805, allocations: 5.994 MB / 0.5535 GB, free: 24 kB / 478.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.2031/0.6836, allocations: 11.2 MB / 0.5644 GB, free: 159.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007223/0.6909, allocations: 5.037 MB / 0.5694 GB, free: 157.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003184/0.6941, allocations: 2.409 MB / 0.5717 GB, free: 157.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004723/0.6946, allocations: 443 kB / 0.5721 GB, free: 156.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.098e-05/0.6947, allocations: 90 kB / 0.5722 GB, free: 156.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.33e-06/0.6947, allocations: 1.25 kB / 0.5722 GB, free: 156.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.008612/0.7033, allocations: 5.815 MB / 0.5779 GB, free: 154.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.123e-05/0.7034, allocations: 90.78 kB / 0.578 GB, free: 154.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009823/0.7044, allocations: 0.8723 MB / 0.5788 GB, free: 153.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000355/0.7047, allocations: 108.5 kB / 0.5789 GB, free: 153.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.705, allocations: 0.5118 MB / 0.5794 GB, free: 153.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007299/0.7057, allocations: 1.308 MB / 0.5807 GB, free: 152.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007144/0.7064, allocations: 0.6278 MB / 0.5813 GB, free: 151.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.272e-05/0.7065, allocations: 358.8 kB / 0.5817 GB, free: 151.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/0.7086, allocations: 1.743 MB / 0.5834 GB, free: 150.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.7108, allocations: 2.261 MB / 0.5856 GB, free: 149.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004668/0.7155, allocations: 4.33 MB / 0.5898 GB, free: 145.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.7156, allocations: 4 kB / 0.5898 GB, free: 145.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005599/0.7212, allocations: 4.59 MB / 0.5943 GB, free: 141.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.7212, allocations: 11.94 kB / 0.5943 GB, free: 141.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.7212, allocations: 12 kB / 0.5943 GB, free: 141.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/0.7213, allocations: 28 kB / 0.5943 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/0.7244, allocations: 0.7921 MB / 0.5951 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.091e-05/0.7245, allocations: 31.92 kB / 0.5951 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/0.7265, allocations: 361.7 kB / 0.5955 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/0.7268, allocations: 144 kB / 0.5956 GB, free: 139.7 MB / 478.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.001213/0.728, allocations: 0.7582 MB / 0.5964 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005107/0.7285, allocations: 213.7 kB / 0.5966 GB, free: 138.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006704/0.7352, allocations: 5.17 MB / 0.6016 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.7353, allocations: 43.98 kB / 0.6017 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.7353, allocations: 0 / 0.6017 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.22e-05/0.7353, allocations: 19.92 kB / 0.6017 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/0.7389, allocations: 2.824 MB / 0.6044 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.7389, allocations: 1.25 kB / 0.6044 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003154/0.7421, allocations: 0.7255 MB / 0.6052 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.714e-05/0.7421, allocations: 19.94 kB / 0.6052 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002147/0.7424, allocations: 87.97 kB / 0.6053 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/0.7424, allocations: 16 kB / 0.6053 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7424, allocations: 0 / 0.6053 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008263/0.7507, allocations: 7.221 MB / 0.6123 GB, free: 122.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.7511, allocations: 314 kB / 0.6126 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003461/0.7515, allocations: 95.7 kB / 0.6127 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002577/0.7541, allocations: 222.9 kB / 0.6129 GB, free: 121.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004258/0.7545, allocations: 322.9 kB / 0.6132 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002793/0.7548, allocations: 171.9 kB / 0.6134 GB, free: 121.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006126/0.7554, allocations: 0.6863 MB / 0.6141 GB, free: 120.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7554, allocations: 0 / 0.6141 GB, free: 120.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001849/0.7573, allocations: 1.081 MB / 0.6151 GB, free: 119.6 MB / 478.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.0009177/0.7582, allocations: 472.9 kB / 0.6156 GB, free: 119.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00507/0.7633, allocations: 4.297 MB / 0.6198 GB, free: 114.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.7633, allocations: 13.62 kB / 0.6198 GB, free: 114.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002409/0.7657, allocations: 2.271 MB / 0.622 GB, free: 112.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004711/0.7704, allocations: 1.242 MB / 0.6232 GB, free: 111.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009323/0.7798, allocations: 6.742 MB / 0.6298 GB, free: 104.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000853/0.7807, allocations: 1.852 MB / 0.6316 GB, free: 102.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/0.7821, allocations: 331.3 kB / 0.6319 GB, free: 102.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.844e-06/0.7821, allocations: 0 / 0.6319 GB, free: 102.4 MB / 478.1 MB Notification: Performance of Templates: time 0.05216/0.8342, allocations: 47.37 MB / 0.6782 GB, free: 54.86 MB / 478.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches