Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008384/0.0008385, allocations: 176.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007751/0.000775, allocations: 94 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002863, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1969, allocations: 47.58 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3189/0.5159, allocations: 138.5 MB / 0.501 GB, free: 1.328 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007015/0.5166, allocations: 0.5582 MB / 0.5016 GB, free: 1.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.5167, allocations: 2.906 kB / 0.5016 GB, free: 1.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.5169, allocations: 46.12 kB / 0.5016 GB, free: 1.316 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.5172, allocations: 137.5 kB / 0.5018 GB, free: 1.316 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.5196, allocations: 0.8147 MB / 0.5025 GB, free: 1.285 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.5199, allocations: 405.4 kB / 0.5029 GB, free: 1.281 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.52, allocations: 6.547 kB / 0.5029 GB, free: 1.281 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.5201, allocations: 137.4 kB / 0.5031 GB, free: 1.281 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.5203, allocations: 132.6 kB / 0.5032 GB, free: 1.281 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.5204, allocations: 9.406 kB / 0.5032 GB, free: 1.281 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.5221, allocations: 1.347 MB / 0.5045 GB, free: 1.262 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.436e-05/0.5222, allocations: 70.14 kB / 0.5046 GB, free: 1.262 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.5223, allocations: 56.92 kB / 0.5046 GB, free: 1.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007125/0.523, allocations: 0.6382 MB / 0.5053 GB, free: 1.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.523, allocations: 0 / 0.5053 GB, free: 1.188 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.523, allocations: 0 / 0.5053 GB, free: 1.188 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.523, allocations: 0 / 0.5053 GB, free: 1.188 MB / 378.7 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.001643/0.5247, allocations: 0.6346 MB / 0.5059 GB, free: 16.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.5247, allocations: 14.62 kB / 0.5059 GB, free: 16.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.5249, allocations: 22.38 kB / 0.5059 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.5251, allocations: 217 kB / 0.5061 GB, free: 16.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.5251, allocations: 8.984 kB / 0.5061 GB, free: 16.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.5252, allocations: 18.91 kB / 0.5062 GB, free: 16.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005617/0.5257, allocations: 257.3 kB / 0.5064 GB, free: 16.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.5258, allocations: 0.5 kB / 0.5064 GB, free: 16.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.5258, allocations: 11.88 kB / 0.5064 GB, free: 16.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.5258, allocations: 9.703 kB / 0.5064 GB, free: 16.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005691/0.5264, allocations: 269.8 kB / 0.5067 GB, free: 16.44 MB / 394.7 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.001315/0.5277, allocations: 0.7898 MB / 0.5075 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.5283, allocations: 226.2 kB / 0.5077 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.5286, allocations: 140.6 kB / 0.5078 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/0.529, allocations: 353.8 kB / 0.5081 GB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.529, allocations: 37.59 kB / 0.5082 GB, free: 15.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.529, allocations: 6.734 kB / 0.5082 GB, free: 15.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002615/0.5316, allocations: 0.6602 MB / 0.5088 GB, free: 15.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.5317, allocations: 88.39 kB / 0.5089 GB, free: 15.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.5318, allocations: 122.9 kB / 0.509 GB, free: 15.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.5319, allocations: 31.8 kB / 0.5091 GB, free: 15.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.5319, allocations: 111.4 kB / 0.5092 GB, free: 15.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.156e-05/0.532, allocations: 122.5 kB / 0.5093 GB, free: 14.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.532, allocations: 6.438 kB / 0.5093 GB, free: 14.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.5321, allocations: 331.7 kB / 0.5096 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.5325, allocations: 134.5 kB / 0.5097 GB, free: 14.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.5329, allocations: 205.9 kB / 0.5099 GB, free: 14.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.5333, allocations: 159.3 kB / 0.5101 GB, free: 14.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5333, allocations: 1.781 kB / 0.5101 GB, free: 14.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008378/0.5341, allocations: 402 kB / 0.5105 GB, free: 14.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.5341, allocations: 9.781 kB / 0.5105 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5342, allocations: 3.531 kB / 0.5105 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5342, allocations: 1.812 kB / 0.5105 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.5346, allocations: 94.38 kB / 0.5106 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.5347, allocations: 8.062 kB / 0.5106 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.535, allocations: 26.25 kB / 0.5106 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.535, allocations: 15.09 kB / 0.5106 GB, free: 14.5 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.5352, allocations: 144.9 kB / 0.5108 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.5352, allocations: 17.03 kB / 0.5108 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.5356, allocations: 186.9 kB / 0.5109 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.5356, allocations: 7.469 kB / 0.511 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.5356, allocations: 0 / 0.511 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-06/0.5356, allocations: 3.141 kB / 0.511 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.5371, allocations: 0.7517 MB / 0.5117 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5372, allocations: 7.297 kB / 0.5117 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.5376, allocations: 80.77 kB / 0.5118 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5376, allocations: 3.25 kB / 0.5118 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.5376, allocations: 10.75 kB / 0.5118 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.5376, allocations: 4.719 kB / 0.5118 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5377, allocations: 2.906 kB / 0.5118 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.5389, allocations: 0.7116 MB / 0.5125 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.5391, allocations: 118.6 kB / 0.5126 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.5391, allocations: 9.844 kB / 0.5126 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.5395, allocations: 25.28 kB / 0.5126 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.5395, allocations: 24.22 kB / 0.5127 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.5396, allocations: 20.84 kB / 0.5127 GB, free: 13.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.82e-05/0.5397, allocations: 94.56 kB / 0.5128 GB, free: 13.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.133e-06/0.5397, allocations: 0 / 0.5128 GB, free: 13.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005725/0.5403, allocations: 145.8 kB / 0.5129 GB, free: 13.46 MB / 394.7 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 (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.00047/0.5407, allocations: 231.7 kB / 0.5131 GB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009035/0.5417, allocations: 336.6 kB / 0.5135 GB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5417, allocations: 1.344 kB / 0.5135 GB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004137/0.5421, allocations: 178.5 kB / 0.5136 GB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006982/0.5428, allocations: 111 kB / 0.5137 GB, free: 13.33 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.5443, allocations: 0.7654 MB / 0.5145 GB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.5446, allocations: 0.7402 MB / 0.5152 GB, free: 12.19 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.5448, allocations: 35.31 kB / 0.5152 GB, free: 12.18 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5448, allocations: 0 / 0.5152 GB, free: 12.18 MB / 394.7 MB Notification: Performance of Templates: time 0.006732/0.5515, allocations: 4.43 MB / 0.5196 GB, free: 11.52 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches