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.001233/0.001233, allocations: 180.7 kB / 16.41 MB, free: 5.68 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.44/1.44, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0006993/0.0006992, allocations: 89.05 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002945, allocations: 8 kB / 327 MB, free: 172 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2068, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3539/0.5607, allocations: 169.7 MB / 0.5315 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004003/0.5647, allocations: 4.441 MB / 0.5358 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00037/0.5651, allocations: 9.156 kB / 0.5358 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005734/0.5657, allocations: 169.3 kB / 0.536 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005475/0.5663, allocations: 353.8 kB / 0.5363 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005998/0.5723, allocations: 2.167 MB / 0.5385 GB, free: 304 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.5735, allocations: 1.39 MB / 0.5398 GB, free: 0 / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.5738, allocations: 113.1 kB / 0.5399 GB, free: 15.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.5764, allocations: 1.205 MB / 0.5411 GB, free: 15.52 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000452/0.5768, allocations: 417.5 kB / 0.5415 GB, free: 15.38 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/0.5769, allocations: 24.62 kB / 0.5415 GB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006047/0.583, allocations: 3.49 MB / 0.5449 GB, free: 14.39 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.5832, allocations: 193.9 kB / 0.5451 GB, free: 14.31 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.5834, allocations: 131.2 kB / 0.5452 GB, free: 14.27 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003032/0.5865, allocations: 1.893 MB / 0.5471 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5865, allocations: 2.938 kB / 0.5471 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5865, allocations: 0 / 0.5471 GB, free: 13.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.439e-05/0.5865, allocations: 4 kB / 0.5471 GB, free: 13.44 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002373/0.5889, allocations: 1.035 MB / 0.5481 GB, free: 12.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.589, allocations: 8.781 kB / 0.5481 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003565/0.5893, allocations: 65.73 kB / 0.5482 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005654/0.5899, allocations: 358 kB / 0.5485 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.5899, allocations: 32.34 kB / 0.5485 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.523e-05/0.59, allocations: 40.5 kB / 0.5486 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008577/0.5909, allocations: 0.5048 MB / 0.5491 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.5909, allocations: 0 / 0.5491 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.025e-05/0.591, allocations: 21.91 kB / 0.5491 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.591, allocations: 11.97 kB / 0.5491 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008843/0.5919, allocations: 0.5999 MB / 0.5497 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003167/0.5951, allocations: 2.171 MB / 0.5518 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.5961, allocations: 0.5569 MB / 0.5524 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.5965, allocations: 263 kB / 0.5526 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005799/0.5971, allocations: 0.6993 MB / 0.5533 GB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.5971, allocations: 44.03 kB / 0.5533 GB, free: 9.605 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 2.104e-06/0.5971, allocations: 0 / 0.5533 GB, free: 9.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.0142/0.6114, allocations: 3.795 MB / 0.557 GB, free: 8.277 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.6114, allocations: 60.88 kB / 0.5571 GB, free: 8.211 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.6118, allocations: 300.9 kB / 0.5574 GB, free: 8.066 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.011e-05/0.6119, allocations: 38.36 kB / 0.5574 GB, free: 8.035 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.612, allocations: 190.6 kB / 0.5576 GB, free: 7.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.6122, allocations: 229.7 kB / 0.5578 GB, free: 7.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.6122, allocations: 12.22 kB / 0.5578 GB, free: 7.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6123, allocations: 352.3 kB / 0.5582 GB, free: 7.406 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006473/0.613, allocations: 319.3 kB / 0.5585 GB, free: 7.352 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/0.6137, allocations: 384 kB / 0.5588 GB, free: 7.246 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006969/0.6144, allocations: 354.5 kB / 0.5592 GB, free: 7.211 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6144, allocations: 3.344 kB / 0.5592 GB, free: 7.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002066/0.6165, allocations: 0.9748 MB / 0.5601 GB, free: 6.926 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.6165, allocations: 7.984 kB / 0.5601 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.6165, allocations: 0 / 0.5601 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/0.6183, allocations: 352.5 kB / 0.5605 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000561/0.6189, allocations: 119.1 kB / 0.5606 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003479/0.6224, allocations: 3.518 MB / 0.564 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/0.6231, allocations: 69.98 kB / 0.5641 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.975e-05/0.6232, allocations: 30.36 kB / 0.5641 GB, free: 2.863 MB / 394.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.0003056/0.6235, allocations: 194.1 kB / 0.5643 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.6236, allocations: 43.53 kB / 0.5644 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.6261, allocations: 1.033 MB / 0.5654 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.6262, allocations: 15.94 kB / 0.5654 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6262, allocations: 3.953 kB / 0.5654 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002045/0.6282, allocations: 1.077 MB / 0.5664 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/0.6313, allocations: 1.73 MB / 0.5681 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6313, allocations: 0 / 0.5681 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/0.6319, allocations: 115.3 kB / 0.5682 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001969/0.6339, allocations: 380.9 kB / 0.5686 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-05/0.6339, allocations: 23.55 kB / 0.5686 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.6353, allocations: 0.8901 MB / 0.5695 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6353, allocations: 0 / 0.5695 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.6379, allocations: 1.359 MB / 0.5708 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.6381, allocations: 119.9 kB / 0.5709 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.595e-05/0.6382, allocations: 19.38 kB / 0.5709 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007002/0.6389, allocations: 61.88 kB / 0.571 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.639, allocations: 42.75 kB / 0.571 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.041e-05/0.6391, allocations: 28.53 kB / 0.5711 GB, free: 13.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002243/0.6393, allocations: 224.7 kB / 0.5713 GB, free: 13.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6393, allocations: 0 / 0.5713 GB, free: 13.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001344/0.6407, allocations: 455.1 kB / 0.5717 GB, free: 12.62 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.001474/0.6421, allocations: 0.5598 MB / 0.5723 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001933/0.6441, allocations: 1.004 MB / 0.5733 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.6441, allocations: 4 kB / 0.5733 GB, free: 11.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000848/0.645, allocations: 417.2 kB / 0.5737 GB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.6465, allocations: 301.5 kB / 0.5739 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.6494, allocations: 1.585 MB / 0.5755 GB, free: 9.324 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.6498, allocations: 0.8591 MB / 0.5763 GB, free: 8.445 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.65, allocations: 62.72 kB / 0.5764 GB, free: 8.387 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.65, allocations: 0 / 0.5764 GB, free: 8.387 MB / 410.7 MB Notification: Performance of Templates: time 0.02144/0.6715, allocations: 17.36 MB / 0.5933 GB, free: 7.09 MB / 426.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/jenkins/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