Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.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.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_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002664/0.00267, allocations: 186.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.409/3.409, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001678/0.001678, allocations: 90.88 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006285/0.0006288, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1735, allocations: 47.58 MB / 374.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.8418/1.015, allocations: 148.7 MB / 0.511 GB, free: 8.574 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01258/1.028, allocations: 3.269 MB / 0.5142 GB, free: 5.297 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007081/1.029, allocations: 7.938 kB / 0.5142 GB, free: 5.289 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001805/1.031, allocations: 183.2 kB / 0.5144 GB, free: 5.109 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001864/1.033, allocations: 259.3 kB / 0.5146 GB, free: 4.855 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01229/1.045, allocations: 1.489 MB / 0.5161 GB, free: 3.363 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002582/1.048, allocations: 0.621 MB / 0.5167 GB, free: 2.742 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005455/1.048, allocations: 113.5 kB / 0.5168 GB, free: 2.629 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006487/1.055, allocations: 0.9625 MB / 0.5177 GB, free: 1.664 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/1.056, allocations: 283.1 kB / 0.518 GB, free: 1.387 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002762/1.057, allocations: 28 kB / 0.518 GB, free: 1.359 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01452/1.071, allocations: 3.012 MB / 0.5209 GB, free: 14.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008386/1.072, allocations: 187.5 kB / 0.5211 GB, free: 14.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004587/1.073, allocations: 125.5 kB / 0.5212 GB, free: 14.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007715/1.08, allocations: 1.533 MB / 0.5227 GB, free: 12.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.08, allocations: 0 / 0.5227 GB, free: 12.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.03e-06/1.08, allocations: 0 / 0.5227 GB, free: 12.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.464e-05/1.081, allocations: 4 kB / 0.5227 GB, free: 12.49 MB / 410.7 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.005318/1.086, allocations: 0.9279 MB / 0.5236 GB, free: 11.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.828e-05/1.086, allocations: 12.03 kB / 0.5237 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/1.087, allocations: 60.3 kB / 0.5237 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/1.089, allocations: 357.9 kB / 0.5241 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-05/1.089, allocations: 33 kB / 0.5241 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/1.089, allocations: 40 kB / 0.5241 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/1.092, allocations: 0.4984 MB / 0.5246 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.836e-05/1.092, allocations: 0 / 0.5246 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/1.092, allocations: 20 kB / 0.5246 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/1.092, allocations: 19.94 kB / 0.5247 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003142/1.095, allocations: 0.5973 MB / 0.5252 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00974/1.105, allocations: 2.173 MB / 0.5274 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003745/1.109, allocations: 0.552 MB / 0.5279 GB, free: 6.887 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001439/1.11, allocations: 0.6926 MB / 0.5286 GB, free: 6.047 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.433e-05/1.111, allocations: 39 kB / 0.5286 GB, free: 6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 6.402e-06/1.111, allocations: 4 kB / 0.5286 GB, free: 5.996 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.04558/1.156, allocations: 3.808 MB / 0.5323 GB, free: 2.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.156, allocations: 63.97 kB / 0.5324 GB, free: 2.016 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009647/1.157, allocations: 294.7 kB / 0.5327 GB, free: 1.723 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003577/1.158, allocations: 33.7 kB / 0.5327 GB, free: 1.684 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/1.158, allocations: 243.6 kB / 0.5329 GB, free: 1.445 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006367/1.159, allocations: 232.7 kB / 0.5332 GB, free: 1.215 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/1.159, allocations: 12 kB / 0.5332 GB, free: 1.203 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002871/1.159, allocations: 334.8 kB / 0.5335 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002308/1.162, allocations: 317.1 kB / 0.5338 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/1.164, allocations: 392.1 kB / 0.5342 GB, free: 160 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4028/1.567, allocations: 348.8 kB / 0.5345 GB, free: 145.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/1.567, allocations: 0 / 0.5345 GB, free: 145.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.006765/1.574, allocations: 0.9548 MB / 0.5354 GB, free: 145.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/1.574, allocations: 5.5 kB / 0.5354 GB, free: 145.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/1.574, allocations: 2.453 kB / 0.5354 GB, free: 145.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005069/1.579, allocations: 361.1 kB / 0.5358 GB, free: 145.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/1.581, allocations: 119.4 kB / 0.5359 GB, free: 145.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008487/1.59, allocations: 3.531 MB / 0.5393 GB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/1.592, allocations: 71.72 kB / 0.5394 GB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/1.592, allocations: 26.95 kB / 0.5394 GB, free: 142.4 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007091/1.593, allocations: 199 kB / 0.5396 GB, free: 142.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/1.593, allocations: 41.19 kB / 0.5397 GB, free: 142.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007723/1.601, allocations: 1.032 MB / 0.5407 GB, free: 141.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.68e-05/1.601, allocations: 7.125 kB / 0.5407 GB, free: 141.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.601, allocations: 0 / 0.5407 GB, free: 141.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006698/1.608, allocations: 1.089 MB / 0.5418 GB, free: 141.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009765/1.618, allocations: 1.714 MB / 0.5434 GB, free: 140.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/1.618, allocations: 5.453 kB / 0.5434 GB, free: 140.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/1.62, allocations: 118.5 kB / 0.5435 GB, free: 140.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005248/1.625, allocations: 394.9 kB / 0.5439 GB, free: 140.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00028/1.625, allocations: 24.89 kB / 0.5439 GB, free: 140.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003835/1.629, allocations: 0.8689 MB / 0.5448 GB, free: 139.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/1.629, allocations: 1.125 kB / 0.5448 GB, free: 139.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008824/1.638, allocations: 1.376 MB / 0.5461 GB, free: 139.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/1.638, allocations: 124 kB / 0.5463 GB, free: 139 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003751/1.639, allocations: 23.81 kB / 0.5463 GB, free: 139 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/1.641, allocations: 60.28 kB / 0.5463 GB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003281/1.641, allocations: 40.03 kB / 0.5464 GB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002646/1.642, allocations: 33.55 kB / 0.5464 GB, free: 138.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006845/1.643, allocations: 220.9 kB / 0.5466 GB, free: 138.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.412e-06/1.643, allocations: 0 / 0.5466 GB, free: 138.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00333/1.646, allocations: 449.4 kB / 0.547 GB, free: 138.8 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003992/1.65, allocations: 0.5321 MB / 0.5476 GB, free: 138.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006131/1.656, allocations: 1.002 MB / 0.5485 GB, free: 138.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-05/1.656, allocations: 1.406 kB / 0.5485 GB, free: 138.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003203/1.66, allocations: 426.6 kB / 0.549 GB, free: 138 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004794/1.664, allocations: 287.6 kB / 0.5492 GB, free: 137.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008568/1.673, allocations: 1.587 MB / 0.5508 GB, free: 137.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/1.674, allocations: 0.8575 MB / 0.5516 GB, free: 136.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006878/1.675, allocations: 59.64 kB / 0.5517 GB, free: 136.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.364e-06/1.675, allocations: 1.156 kB / 0.5517 GB, free: 136.4 MB / 410.7 MB Notification: Performance of Templates: time 0.05855/1.733, allocations: 17.28 MB / 0.5685 GB, free: 123.7 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches