Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.001469, allocations: 112.5 kB / 18.36 MB, free: 4.84 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.001498/0.001499, allocations: 184.5 kB / 19.29 MB, free: 3.918 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.403/1.403, 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.001219/0.001219, allocations: 51.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.09366, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3882/0.4819, allocations: 186.6 MB / 0.5492 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2894/0.7713, allocations: 4.77 MB / 0.5539 GB, free: 1.48 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/0.7717, allocations: 7.156 kB / 0.5539 GB, free: 1.48 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000823/0.7726, allocations: 249.5 kB / 0.5541 GB, free: 1.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007177/0.7733, allocations: 370.1 kB / 0.5545 GB, free: 1.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008457/0.7818, allocations: 2.863 MB / 0.5573 GB, free: 1.457 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001964/0.7837, allocations: 1.167 MB / 0.5584 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.7841, allocations: 149.2 kB / 0.5586 GB, free: 1.422 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00393/0.788, allocations: 1.453 MB / 0.56 GB, free: 1.414 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007709/0.7888, allocations: 431.1 kB / 0.5604 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.7889, allocations: 62.97 kB / 0.5604 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009175/0.7981, allocations: 4.213 MB / 0.5646 GB, free: 1.375 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005371/0.7987, allocations: 234.7 kB / 0.5648 GB, free: 1.375 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007263/0.7994, allocations: 321.8 kB / 0.5651 GB, free: 1.375 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008672/0.8081, allocations: 2.908 MB / 0.5679 GB, free: 1.234 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.949e-05/0.8082, allocations: 0 / 0.5679 GB, free: 1.234 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.8082, allocations: 1.156 kB / 0.5679 GB, free: 1.234 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.8082, allocations: 0 / 0.5679 GB, free: 1.234 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003622/0.8118, allocations: 1.137 MB / 0.569 GB, free: 16.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.8119, allocations: 15.3 kB / 0.5691 GB, free: 16.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004035/0.8123, allocations: 64.03 kB / 0.5691 GB, free: 16.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.8129, allocations: 362.2 kB / 0.5695 GB, free: 16.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.8129, allocations: 33.66 kB / 0.5695 GB, free: 16.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-05/0.813, allocations: 43.28 kB / 0.5695 GB, free: 16.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009362/0.814, allocations: 0.5043 MB / 0.57 GB, free: 16.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.814, allocations: 1.031 kB / 0.57 GB, free: 16.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/0.8141, allocations: 20.16 kB / 0.57 GB, free: 16.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.8141, allocations: 12.5 kB / 0.5701 GB, free: 16.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.8152, allocations: 0.5995 MB / 0.5706 GB, free: 16.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.8187, allocations: 2.175 MB / 0.5728 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.8198, allocations: 0.5502 MB / 0.5733 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.8202, allocations: 262 kB / 0.5736 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000543/0.8208, allocations: 0.6905 MB / 0.5742 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.8208, allocations: 45.19 kB / 0.5743 GB, free: 14.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 3.357e-06/0.8208, allocations: 0 / 0.5743 GB, free: 14.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.01364/0.8345, allocations: 3.633 MB / 0.5778 GB, free: 13.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.8345, allocations: 58.81 kB / 0.5779 GB, free: 13.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.8348, allocations: 299.3 kB / 0.5782 GB, free: 13.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.879e-05/0.8349, allocations: 36.45 kB / 0.5782 GB, free: 13.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.7e-05/0.835, allocations: 195.2 kB / 0.5784 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.8352, allocations: 221.2 kB / 0.5786 GB, free: 13.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.8353, allocations: 119.3 kB / 0.5787 GB, free: 13.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8355, allocations: 348 kB / 0.579 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006188/0.8361, allocations: 311 kB / 0.5793 GB, free: 12.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006956/0.8368, allocations: 390.9 kB / 0.5797 GB, free: 12.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.8381, allocations: 0.7128 MB / 0.5804 GB, free: 12.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.8381, allocations: 4.469 kB / 0.5804 GB, free: 12.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002119/0.8403, allocations: 0.9661 MB / 0.5813 GB, free: 12.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.8403, allocations: 5.219 kB / 0.5814 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.8403, allocations: 6.391 kB / 0.5814 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.8419, allocations: 336.1 kB / 0.5817 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/0.8425, allocations: 123.3 kB / 0.5818 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003765/0.8463, allocations: 3.703 MB / 0.5854 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000748/0.8471, allocations: 40.23 kB / 0.5855 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/0.8472, allocations: 27.03 kB / 0.5855 GB, free: 9.387 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004166/0.8476, allocations: 190.3 kB / 0.5857 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.8477, allocations: 43.66 kB / 0.5857 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.8501, allocations: 1.026 MB / 0.5867 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.8501, allocations: 8.781 kB / 0.5867 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.8501, allocations: 0.6875 kB / 0.5867 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001974/0.8521, allocations: 1.068 MB / 0.5878 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.8552, allocations: 1.706 MB / 0.5894 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.8552, allocations: 0 / 0.5894 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.8557, allocations: 112.5 kB / 0.5895 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.8574, allocations: 370.1 kB / 0.5899 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/0.8575, allocations: 23.41 kB / 0.5899 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.8588, allocations: 0.8745 MB / 0.5908 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.8588, allocations: 1.125 kB / 0.5908 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.8614, allocations: 1.345 MB / 0.5921 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.8616, allocations: 119.1 kB / 0.5922 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.644e-05/0.8617, allocations: 19.38 kB / 0.5922 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006415/0.8624, allocations: 40.92 kB / 0.5922 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/0.8625, allocations: 42.84 kB / 0.5923 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.464e-05/0.8625, allocations: 30.56 kB / 0.5923 GB, free: 7.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002373/0.8628, allocations: 224 kB / 0.5925 GB, free: 7.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8628, allocations: 1.031 kB / 0.5925 GB, free: 7.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001757/0.8645, allocations: 454.5 kB / 0.593 GB, free: 7.449 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/0.8659, allocations: 0.5696 MB / 0.5935 GB, free: 7.289 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.8679, allocations: 0.9974 MB / 0.5945 GB, free: 7.059 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.868, allocations: 4.547 kB / 0.5945 GB, free: 7.059 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008516/0.8688, allocations: 423.8 kB / 0.5949 GB, free: 7.055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.8703, allocations: 310.5 kB / 0.5952 GB, free: 7.023 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.8734, allocations: 1.365 MB / 0.5965 GB, free: 6.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.8738, allocations: 0.8453 MB / 0.5974 GB, free: 5.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.874, allocations: 67.3 kB / 0.5974 GB, free: 5.809 MB / 494.1 MB Notification: Performance of SimCode: time 7.91e-07/0.8741, allocations: 0 / 0.5974 GB, free: 5.809 MB / 494.1 MB Notification: Performance of Templates: time 0.02297/0.897, allocations: 17.43 MB / 0.6144 GB, free: 11.86 MB / 0.4981 GB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches