Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 108.6 kB / 16.51 MB, free: 6.691 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.001105/0.001105, allocations: 193.9 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 50.08 kB / 299.9 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07555/0.07657, allocations: 49.44 MB / 349.4 MB, free: 4.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2801/0.3567, allocations: 149.3 MB / 498.7 MB, free: 15.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.3583, allocations: 1.594 MB / 0.4886 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.3584, allocations: 0 / 0.4886 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.3588, allocations: 58.59 kB / 0.4886 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.3591, allocations: 146.1 kB / 0.4887 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.3614, allocations: 0.8988 MB / 0.4896 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.3618, allocations: 490.5 kB / 0.4901 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.3619, allocations: 9.453 kB / 0.4901 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.3621, allocations: 136.9 kB / 0.4902 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.3623, allocations: 127.6 kB / 0.4904 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.3623, allocations: 8 kB / 0.4904 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.3645, allocations: 1.649 MB / 0.492 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.052e-05/0.3646, allocations: 71.72 kB / 0.492 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.3647, allocations: 87.64 kB / 0.4921 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.3661, allocations: 1.033 MB / 0.4931 GB, free: 9.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.3661, allocations: 0 / 0.4931 GB, free: 9.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3661, allocations: 0 / 0.4931 GB, free: 9.582 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.3661, allocations: 0 / 0.4931 GB, free: 9.582 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001661/0.3678, allocations: 0.6753 MB / 0.4938 GB, free: 8.859 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3678, allocations: 8.031 kB / 0.4938 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.368, allocations: 20.83 kB / 0.4938 GB, free: 8.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.3682, allocations: 211.5 kB / 0.494 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3682, allocations: 12.33 kB / 0.494 GB, free: 8.574 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.3682, allocations: 16 kB / 0.4941 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.3688, allocations: 261.4 kB / 0.4943 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3688, allocations: 0 / 0.4943 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.3689, allocations: 12 kB / 0.4943 GB, free: 8.281 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.3689, allocations: 7.938 kB / 0.4943 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006377/0.3695, allocations: 267.8 kB / 0.4946 GB, free: 8.012 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.001381/0.3709, allocations: 0.7892 MB / 0.4953 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/0.3716, allocations: 221.9 kB / 0.4956 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.3719, allocations: 141.6 kB / 0.4957 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002917/0.3722, allocations: 352.4 kB / 0.496 GB, free: 6.348 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.3722, allocations: 38.55 kB / 0.4961 GB, free: 6.301 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.3722, allocations: 0 / 0.4961 GB, free: 6.301 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002452/0.3747, allocations: 0.6687 MB / 0.4967 GB, free: 5.625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.3747, allocations: 81.11 kB / 0.4968 GB, free: 5.527 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/0.3748, allocations: 124.5 kB / 0.4969 GB, free: 5.398 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.3749, allocations: 33.7 kB / 0.4969 GB, free: 5.359 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.3749, allocations: 112.8 kB / 0.4971 GB, free: 5.246 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.958e-05/0.375, allocations: 118.2 kB / 0.4972 GB, free: 5.129 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.3751, allocations: 73.58 kB / 0.4972 GB, free: 5.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.3752, allocations: 322.8 kB / 0.4975 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.3756, allocations: 142.2 kB / 0.4977 GB, free: 4.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.376, allocations: 211.5 kB / 0.4979 GB, free: 4.355 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007878/0.3768, allocations: 353.9 kB / 0.4982 GB, free: 3.988 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3769, allocations: 0 / 0.4982 GB, free: 3.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009344/0.3778, allocations: 414.7 kB / 0.4986 GB, free: 3.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3778, allocations: 4 kB / 0.4986 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3778, allocations: 12.2 kB / 0.4986 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3779, allocations: 7.938 kB / 0.4986 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.3784, allocations: 87.88 kB / 0.4987 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.3784, allocations: 4 kB / 0.4987 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.3787, allocations: 23.92 kB / 0.4987 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.3788, allocations: 23.92 kB / 0.4988 GB, free: 3.418 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.0001381/0.3789, allocations: 141.8 kB / 0.4989 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.379, allocations: 15.81 kB / 0.4989 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.3794, allocations: 177.2 kB / 0.4991 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3794, allocations: 8 kB / 0.4991 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3794, allocations: 0 / 0.4991 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.3794, allocations: 3.984 kB / 0.4991 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.381, allocations: 0.7518 MB / 0.4998 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.381, allocations: 8.531 kB / 0.4998 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004617/0.3815, allocations: 79.81 kB / 0.4999 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.3815, allocations: 7.938 kB / 0.4999 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.3815, allocations: 12 kB / 0.4999 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3816, allocations: 7.938 kB / 0.4999 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3816, allocations: 0 / 0.4999 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.3829, allocations: 0.7142 MB / 0.5006 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.383, allocations: 120.9 kB / 0.5008 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.3831, allocations: 8 kB / 0.5008 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.3835, allocations: 19.92 kB / 0.5008 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.3835, allocations: 28.03 kB / 0.5008 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.3835, allocations: 19.98 kB / 0.5008 GB, free: 1.172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.825e-05/0.3836, allocations: 91.27 kB / 0.5009 GB, free: 1.082 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3836, allocations: 0 / 0.5009 GB, free: 1.082 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005402/0.3841, allocations: 139.9 kB / 0.5011 GB, free: 0.9453 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * Single equations (assignments): 38 * 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.0004283/0.3846, allocations: 234.9 kB / 0.5013 GB, free: 0.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000842/0.3854, allocations: 340.4 kB / 0.5016 GB, free: 384 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3854, allocations: 4 kB / 0.5016 GB, free: 380 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.3858, allocations: 175.6 kB / 0.5018 GB, free: 204 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007036/0.3866, allocations: 96.09 kB / 0.5019 GB, free: 108 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.3879, allocations: 0.6833 MB / 0.5025 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.3882, allocations: 0.7374 MB / 0.5033 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004125/0.3886, allocations: 81.86 kB / 0.5033 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3887, allocations: 31.7 kB / 0.5034 GB, free: 14.5 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3887, allocations: 0 / 0.5034 GB, free: 14.5 MB / 430.1 MB Notification: Performance of Templates: time 0.009286/0.398, allocations: 5.703 MB / 0.5089 GB, free: 8.855 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches