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.SimpleAir.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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008372/0.0008372, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.141/1.141, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0006799/0.0006799, allocations: 90.36 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.000265, allocations: 11.98 kB / 327.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1732, allocations: 47.57 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2612/0.4345, allocations: 130.6 MB / 0.4939 GB, free: 2.086 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.436, allocations: 1.634 MB / 0.4955 GB, free: 2.035 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.4362, allocations: 2.938 kB / 0.4955 GB, free: 2.035 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004041/0.4366, allocations: 133.5 kB / 0.4956 GB, free: 2.031 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.437, allocations: 313.6 kB / 0.4959 GB, free: 2.012 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006818/0.4377, allocations: 354.8 kB / 0.4963 GB, free: 1.996 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006545/0.4383, allocations: 1.066 MB / 0.4973 GB, free: 1.996 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.4385, allocations: 76.39 kB / 0.4974 GB, free: 1.984 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003874/0.4389, allocations: 347.9 kB / 0.4977 GB, free: 1.984 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.4392, allocations: 320.9 kB / 0.498 GB, free: 1.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.4392, allocations: 17.38 kB / 0.498 GB, free: 1.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.4395, allocations: 139 kB / 0.4982 GB, free: 1.977 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.707e-05/0.4396, allocations: 81.64 kB / 0.4982 GB, free: 1.977 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.4397, allocations: 185.4 kB / 0.4984 GB, free: 1.945 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.44, allocations: 375.7 kB / 0.4988 GB, free: 1.918 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.44, allocations: 0 / 0.4988 GB, free: 1.918 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.44, allocations: 0 / 0.4988 GB, free: 1.918 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.44, allocations: 2.562 kB / 0.4988 GB, free: 1.918 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006347/0.4406, allocations: 0.5221 MB / 0.4993 GB, free: 17.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.4407, allocations: 17.5 kB / 0.4993 GB, free: 17.48 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.971e-05/0.4407, allocations: 56.09 kB / 0.4994 GB, free: 17.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.441, allocations: 48.91 kB / 0.4994 GB, free: 17.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.4412, allocations: 288.1 kB / 0.4997 GB, free: 17.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.4413, allocations: 17.91 kB / 0.4997 GB, free: 17.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.4413, allocations: 28.03 kB / 0.4997 GB, free: 17.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.4417, allocations: 293.2 kB / 0.5 GB, free: 17.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4417, allocations: 3.219 kB / 0.5 GB, free: 17.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.4417, allocations: 11.22 kB / 0.5 GB, free: 17.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4418, allocations: 9.219 kB / 0.5 GB, free: 17.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.442, allocations: 205.8 kB / 0.5002 GB, free: 17.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.4433, allocations: 1.29 MB / 0.5015 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.4436, allocations: 189.7 kB / 0.5017 GB, free: 16.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.4438, allocations: 89.77 kB / 0.5018 GB, free: 16.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.4439, allocations: 168.4 kB / 0.5019 GB, free: 16.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.4439, allocations: 37.47 kB / 0.5019 GB, free: 15.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.853e-06/0.4439, allocations: 0 / 0.5019 GB, free: 15.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.001984/0.4459, allocations: 1.04 MB / 0.503 GB, free: 15.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.4459, allocations: 54.03 kB / 0.503 GB, free: 15.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.4461, allocations: 257.5 kB / 0.5033 GB, free: 15.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.4462, allocations: 32.14 kB / 0.5033 GB, free: 15.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.4463, allocations: 184 kB / 0.5035 GB, free: 15.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.4463, allocations: 97.38 kB / 0.5036 GB, free: 15.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.4463, allocations: 3.25 kB / 0.5036 GB, free: 15.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.475e-05/0.4464, allocations: 333.5 kB / 0.5039 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.4465, allocations: 85.33 kB / 0.504 GB, free: 14.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.4467, allocations: 180 kB / 0.5041 GB, free: 14.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.447, allocations: 289.2 kB / 0.5044 GB, free: 14.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.447, allocations: 0 / 0.5044 GB, free: 14.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004976/0.4475, allocations: 439.2 kB / 0.5048 GB, free: 14.35 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.4475, allocations: 13.73 kB / 0.5048 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4475, allocations: 1.781 kB / 0.5048 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.4476, allocations: 40.08 kB / 0.5049 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.4479, allocations: 77.8 kB / 0.505 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.4493, allocations: 2.579 MB / 0.5075 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.4495, allocations: 20.34 kB / 0.5075 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.4496, allocations: 15.69 kB / 0.5075 GB, free: 11.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.4497, allocations: 156.8 kB / 0.5077 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.4498, allocations: 26.03 kB / 0.5077 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.4502, allocations: 366.9 kB / 0.508 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4503, allocations: 2.938 kB / 0.508 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.4503, allocations: 0 / 0.508 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004146/0.4507, allocations: 0.6176 MB / 0.5086 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007552/0.4514, allocations: 0.7573 MB / 0.5094 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.4515, allocations: 0 / 0.5094 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.4517, allocations: 56.75 kB / 0.5094 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.454e-05/0.4518, allocations: 21.31 kB / 0.5095 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.4518, allocations: 13.31 kB / 0.5095 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006359/0.4525, allocations: 1.281 MB / 0.5107 GB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4525, allocations: 1.859 kB / 0.5107 GB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/0.453, allocations: 0.5149 MB / 0.5112 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.4531, allocations: 98.2 kB / 0.5113 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.4532, allocations: 13.08 kB / 0.5113 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.4534, allocations: 14.05 kB / 0.5113 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.4535, allocations: 20.75 kB / 0.5114 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.4535, allocations: 15.36 kB / 0.5114 GB, free: 8.883 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001799/0.4537, allocations: 185.4 kB / 0.5116 GB, free: 8.805 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4537, allocations: 0.5312 kB / 0.5116 GB, free: 8.805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004452/0.4541, allocations: 109.8 kB / 0.5117 GB, free: 8.793 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008602/0.455, allocations: 1.082 MB / 0.5127 GB, free: 8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005237/0.4555, allocations: 447.9 kB / 0.5131 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4556, allocations: 0.8125 kB / 0.5131 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.4558, allocations: 218.8 kB / 0.5134 GB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008387/0.4566, allocations: 163.1 kB / 0.5135 GB, free: 7.652 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.4589, allocations: 1.927 MB / 0.5154 GB, free: 6.695 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.4591, allocations: 0.7674 MB / 0.5161 GB, free: 5.992 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.4593, allocations: 96.7 kB / 0.5162 GB, free: 5.984 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4593, allocations: 4 kB / 0.5162 GB, free: 5.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.744/4.203, allocations: 6.746 MB / 0.5228 GB, free: 5.422 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_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/SimpleAir/SimpleAir.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches