Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 114.5 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.001151, allocations: 183 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 55.88 kB / 328.1 MB, free: 3.77 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08354/0.08472, allocations: 46.62 MB / 374.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3309/0.4156, allocations: 144 MB / 0.5065 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.418, allocations: 1.737 MB / 0.5082 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.4183, allocations: 4 kB / 0.5082 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006132/0.419, allocations: 174.9 kB / 0.5084 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006414/0.4197, allocations: 330.2 kB / 0.5087 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009476/0.4206, allocations: 415.1 kB / 0.5091 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008674/0.4215, allocations: 0.8446 MB / 0.5099 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.4217, allocations: 94.25 kB / 0.51 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006701/0.4224, allocations: 402.6 kB / 0.5104 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004447/0.4228, allocations: 322.9 kB / 0.5107 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.842e-05/0.4229, allocations: 36 kB / 0.5108 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.4232, allocations: 135.7 kB / 0.5109 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.4233, allocations: 103.7 kB / 0.511 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.4235, allocations: 183.2 kB / 0.5112 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.424, allocations: 492.4 kB / 0.5116 GB, free: 10.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.424, allocations: 4 kB / 0.5116 GB, free: 10.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.424, allocations: 0 / 0.5116 GB, free: 10.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.4241, allocations: 0 / 0.5116 GB, free: 10.31 MB / 446.1 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.0008169/0.4249, allocations: 0.5855 MB / 0.5122 GB, free: 9.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.4249, allocations: 9.531 kB / 0.5122 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.413e-05/0.425, allocations: 62.67 kB / 0.5123 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.4253, allocations: 44.55 kB / 0.5123 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.4257, allocations: 299.7 kB / 0.5126 GB, free: 9.227 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.4258, allocations: 20.94 kB / 0.5126 GB, free: 9.207 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.4258, allocations: 28.56 kB / 0.5126 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.4263, allocations: 297.3 kB / 0.5129 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4263, allocations: 0 / 0.5129 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.4263, allocations: 12 kB / 0.5129 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4264, allocations: 8 kB / 0.5129 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.4267, allocations: 206.1 kB / 0.5131 GB, free: 8.652 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.4284, allocations: 1.296 MB / 0.5144 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.4287, allocations: 187.9 kB / 0.5146 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.4289, allocations: 92.83 kB / 0.5147 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.429, allocations: 174.1 kB / 0.5148 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.4291, allocations: 38.56 kB / 0.5149 GB, free: 6.691 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.293e-06/0.4291, allocations: 4 kB / 0.5149 GB, free: 6.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002373/0.4314, allocations: 1.031 MB / 0.5159 GB, free: 5.559 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.4315, allocations: 59.34 kB / 0.5159 GB, free: 5.488 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.4318, allocations: 266.5 kB / 0.5162 GB, free: 5.219 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.4318, allocations: 29.7 kB / 0.5162 GB, free: 5.184 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.4319, allocations: 176.2 kB / 0.5164 GB, free: 5.008 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.432, allocations: 94.64 kB / 0.5165 GB, free: 4.914 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.4321, allocations: 61.7 kB / 0.5165 GB, free: 4.848 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4322, allocations: 334.8 kB / 0.5169 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.4323, allocations: 83.95 kB / 0.5169 GB, free: 4.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.4325, allocations: 179.7 kB / 0.5171 GB, free: 4.211 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.4328, allocations: 291.8 kB / 0.5174 GB, free: 3.883 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4328, allocations: 0 / 0.5174 GB, free: 3.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005636/0.4334, allocations: 447.9 kB / 0.5178 GB, free: 3.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4334, allocations: 8 kB / 0.5178 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4334, allocations: 4 kB / 0.5178 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/0.4336, allocations: 38.27 kB / 0.5179 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.4339, allocations: 79.89 kB / 0.5179 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.4357, allocations: 2.763 MB / 0.5206 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.4359, allocations: 16.16 kB / 0.5207 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.4359, allocations: 12 kB / 0.5207 GB, free: 216 kB / 446.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001447/0.436, allocations: 161.6 kB / 0.5208 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.4361, allocations: 31.7 kB / 0.5209 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005157/0.4366, allocations: 354.7 kB / 0.5212 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.4367, allocations: 8 kB / 0.5212 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4367, allocations: 0.8125 kB / 0.5212 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004994/0.4372, allocations: 0.6152 MB / 0.5218 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009034/0.4381, allocations: 0.7553 MB / 0.5225 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4381, allocations: 4 kB / 0.5225 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.4384, allocations: 63.92 kB / 0.5226 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.454e-05/0.4385, allocations: 20.84 kB / 0.5226 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.4385, allocations: 10.06 kB / 0.5226 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008754/0.4394, allocations: 1.38 MB / 0.524 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.4394, allocations: 4.031 kB / 0.524 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.44, allocations: 0.5148 MB / 0.5245 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/0.4401, allocations: 100.8 kB / 0.5246 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.4401, allocations: 7.938 kB / 0.5246 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.4404, allocations: 11.98 kB / 0.5246 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.4404, allocations: 15.98 kB / 0.5246 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.4404, allocations: 13.11 kB / 0.5246 GB, free: 11.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.4406, allocations: 193.9 kB / 0.5248 GB, free: 11.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4406, allocations: 4.062 kB / 0.5248 GB, free: 11.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004081/0.441, allocations: 99.94 kB / 0.5249 GB, free: 11.44 MB / 462.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009744/0.442, allocations: 1.087 MB / 0.526 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006315/0.4427, allocations: 453.8 kB / 0.5264 GB, free: 9.832 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4427, allocations: 192 / 0.5264 GB, free: 9.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.4429, allocations: 222.5 kB / 0.5266 GB, free: 9.602 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008169/0.4438, allocations: 155.4 kB / 0.5268 GB, free: 9.457 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.4473, allocations: 3.257 MB / 0.53 GB, free: 5.988 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.4477, allocations: 0.7606 MB / 0.5307 GB, free: 5.203 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002334/0.448, allocations: 66.81 kB / 0.5308 GB, free: 5.133 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.4481, allocations: 87.41 kB / 0.5308 GB, free: 5.047 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4481, allocations: 0 / 0.5308 GB, free: 5.047 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04502/0.4931, allocations: 9.395 MB / 0.54 GB, free: 11.59 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.55, allocations: 8.531 kB / 0.54 GB, free: 11.58 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches