Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001046/0.001051, allocations: 183 kB / 17.91 MB, free: 3.855 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.225/1.225, allocations: 205.1 MB / 223.7 MB, free: 8.504 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.0009337/0.0009339, allocations: 91.88 kB / 271.2 MB, free: 8.461 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008177/0.0008178, allocations: 43.92 kB / 327.2 MB, free: 356 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1936, allocations: 46.62 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.296/0.4896, allocations: 150.6 MB / 0.5121 GB, free: 13.19 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008658/0.4905, allocations: 0.5984 MB / 0.5127 GB, free: 13.14 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.265e-05/0.4907, allocations: 1.094 kB / 0.5127 GB, free: 13.14 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.491, allocations: 58.41 kB / 0.5127 GB, free: 13.14 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.4915, allocations: 147 kB / 0.5129 GB, free: 13.1 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.4943, allocations: 0.9447 MB / 0.5138 GB, free: 12.95 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004712/0.4947, allocations: 482.7 kB / 0.5142 GB, free: 12.89 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.4948, allocations: 12.3 kB / 0.5143 GB, free: 12.89 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.4951, allocations: 153.5 kB / 0.5144 GB, free: 12.86 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.4953, allocations: 128.8 kB / 0.5145 GB, free: 12.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.4954, allocations: 9.625 kB / 0.5145 GB, free: 12.86 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.4981, allocations: 1.679 MB / 0.5162 GB, free: 12.76 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.4983, allocations: 61.5 kB / 0.5162 GB, free: 12.76 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.4984, allocations: 92.73 kB / 0.5163 GB, free: 12.76 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.5006, allocations: 1.032 MB / 0.5173 GB, free: 12.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5006, allocations: 0 / 0.5173 GB, free: 12.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.5006, allocations: 0.9375 kB / 0.5173 GB, free: 12.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.5006, allocations: 1.094 kB / 0.5173 GB, free: 12.69 MB / 394.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.001664/0.5023, allocations: 0.6696 MB / 0.518 GB, free: 12.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.5023, allocations: 8.812 kB / 0.518 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.5025, allocations: 24.56 kB / 0.518 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.5027, allocations: 222.2 kB / 0.5182 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5027, allocations: 10.2 kB / 0.5182 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.5028, allocations: 17.78 kB / 0.5183 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.5033, allocations: 265 kB / 0.5185 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.5033, allocations: 1.031 kB / 0.5185 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.5034, allocations: 11.08 kB / 0.5185 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.5034, allocations: 10.72 kB / 0.5185 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006376/0.504, allocations: 263 kB / 0.5188 GB, free: 11.93 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.001382/0.5054, allocations: 0.7858 MB / 0.5196 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/0.506, allocations: 226.5 kB / 0.5198 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.5064, allocations: 135.2 kB / 0.5199 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/0.5067, allocations: 357.3 kB / 0.5202 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.5067, allocations: 39.11 kB / 0.5203 GB, free: 10.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.5067, allocations: 0 / 0.5203 GB, free: 10.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002342/0.5091, allocations: 0.6701 MB / 0.5209 GB, free: 10.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.5091, allocations: 81.48 kB / 0.521 GB, free: 10.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.5092, allocations: 121.9 kB / 0.5211 GB, free: 10.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.5093, allocations: 34.48 kB / 0.5212 GB, free: 10.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.5093, allocations: 108.9 kB / 0.5213 GB, free: 10.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.825e-05/0.5094, allocations: 126.8 kB / 0.5214 GB, free: 10.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.5095, allocations: 77.72 kB / 0.5215 GB, free: 10.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5097, allocations: 326.4 kB / 0.5218 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.51, allocations: 130.4 kB / 0.5219 GB, free: 10.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/0.5104, allocations: 212.6 kB / 0.5221 GB, free: 10.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007273/0.5112, allocations: 362.5 kB / 0.5224 GB, free: 9.898 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5112, allocations: 0 / 0.5224 GB, free: 9.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008677/0.5121, allocations: 409.3 kB / 0.5228 GB, free: 9.789 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.5121, allocations: 4.406 kB / 0.5228 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.5121, allocations: 3.594 kB / 0.5228 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.5121, allocations: 2.781 kB / 0.5228 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.5126, allocations: 88.22 kB / 0.5229 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.5126, allocations: 5.625 kB / 0.5229 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.5129, allocations: 39.94 kB / 0.523 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.513, allocations: 14.98 kB / 0.523 GB, free: 9.746 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.5131, allocations: 147.6 kB / 0.5231 GB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/0.5132, allocations: 22.2 kB / 0.5231 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.5135, allocations: 173 kB / 0.5233 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5135, allocations: 4.688 kB / 0.5233 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.5135, allocations: 0 / 0.5233 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5136, allocations: 0 / 0.5233 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.5151, allocations: 0.7669 MB / 0.5241 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5151, allocations: 3.188 kB / 0.5241 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.5155, allocations: 82.44 kB / 0.5241 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.5156, allocations: 5.594 kB / 0.5241 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.5156, allocations: 9.328 kB / 0.5242 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.5156, allocations: 5.75 kB / 0.5242 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5156, allocations: 4.156 kB / 0.5242 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.5178, allocations: 1.696 MB / 0.5258 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.5179, allocations: 122.1 kB / 0.5259 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.518, allocations: 7.688 kB / 0.5259 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/0.5183, allocations: 25.02 kB / 0.526 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.5184, allocations: 27.41 kB / 0.526 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.5184, allocations: 17.61 kB / 0.526 GB, free: 7.629 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.529e-05/0.5185, allocations: 100.1 kB / 0.5261 GB, free: 7.547 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5185, allocations: 0 / 0.5261 GB, free: 7.547 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006636/0.5192, allocations: 153.9 kB / 0.5263 GB, free: 7.523 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 (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.0005015/0.5197, allocations: 236 kB / 0.5265 GB, free: 7.383 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008215/0.5205, allocations: 350.3 kB / 0.5268 GB, free: 7.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.5205, allocations: 448 / 0.5268 GB, free: 7.305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.5209, allocations: 184 kB / 0.527 GB, free: 7.262 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006605/0.5216, allocations: 95.28 kB / 0.5271 GB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.5231, allocations: 0.9089 MB / 0.528 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.5234, allocations: 0.7449 MB / 0.5287 GB, free: 5.887 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003935/0.5238, allocations: 83.42 kB / 0.5288 GB, free: 5.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.5239, allocations: 35.39 kB / 0.5288 GB, free: 5.828 MB / 394.7 MB Notification: Performance of SimCode: time 3.9e-07/0.5239, allocations: 3.938 kB / 0.5288 GB, free: 5.824 MB / 394.7 MB Notification: Performance of Templates: time 0.009371/0.5333, allocations: 6.027 MB / 0.5347 GB, free: 2.777 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches