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.001107/0.001107, allocations: 108.8 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.001249/0.001249, allocations: 190.9 kB / 18.67 MB, free: 4.41 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.285/1.285, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001245/0.001245, allocations: 51.92 kB / 328.1 MB, free: 3.762 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08119/0.08245, allocations: 46.62 MB / 374.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3335/0.416, allocations: 144 MB / 0.5066 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003376/0.4194, allocations: 1.719 MB / 0.5082 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.4196, allocations: 4 kB / 0.5082 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007656/0.4204, allocations: 178.9 kB / 0.5084 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007798/0.4212, allocations: 334.2 kB / 0.5087 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.4226, allocations: 421 kB / 0.5091 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.4238, allocations: 0.8524 MB / 0.51 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/0.4241, allocations: 92.67 kB / 0.51 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007657/0.4249, allocations: 406.6 kB / 0.5104 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005628/0.4254, allocations: 315 kB / 0.5107 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.777e-05/0.4255, allocations: 32 kB / 0.5108 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.4259, allocations: 151.6 kB / 0.5109 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.4261, allocations: 91.73 kB / 0.511 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.4263, allocations: 183.3 kB / 0.5112 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007094/0.4271, allocations: 493.3 kB / 0.5116 GB, free: 10.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4271, allocations: 4 kB / 0.5116 GB, free: 10.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4271, allocations: 1.5 kB / 0.5116 GB, free: 10.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.4271, allocations: 4 kB / 0.5117 GB, free: 10.42 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.001065/0.4282, allocations: 0.6039 MB / 0.5122 GB, free: 9.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.4282, allocations: 8.031 kB / 0.5122 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.511e-05/0.4283, allocations: 54.73 kB / 0.5123 GB, free: 9.699 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004339/0.4288, allocations: 48.73 kB / 0.5123 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.4293, allocations: 295.8 kB / 0.5126 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.4294, allocations: 20.94 kB / 0.5127 GB, free: 9.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.895e-05/0.4294, allocations: 24.56 kB / 0.5127 GB, free: 9.281 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006815/0.4301, allocations: 301.3 kB / 0.513 GB, free: 8.969 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.4302, allocations: 0 / 0.513 GB, free: 8.969 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.4302, allocations: 12 kB / 0.513 GB, free: 8.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.4302, allocations: 8 kB / 0.513 GB, free: 8.949 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/0.4307, allocations: 206.1 kB / 0.5132 GB, free: 8.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.4329, allocations: 1.289 MB / 0.5144 GB, free: 7.336 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.4334, allocations: 194.5 kB / 0.5146 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.4337, allocations: 92.81 kB / 0.5147 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/0.4339, allocations: 174.2 kB / 0.5149 GB, free: 6.836 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.4339, allocations: 35.44 kB / 0.5149 GB, free: 6.793 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 6.612e-06/0.4339, allocations: 3.984 kB / 0.5149 GB, free: 6.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002735/0.4367, allocations: 1.043 MB / 0.5159 GB, free: 5.648 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.4367, allocations: 55.41 kB / 0.516 GB, free: 5.582 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.437, allocations: 258.6 kB / 0.5162 GB, free: 5.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.437, allocations: 29.7 kB / 0.5163 GB, free: 5.285 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4371, allocations: 180.5 kB / 0.5164 GB, free: 5.105 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.4372, allocations: 103.2 kB / 0.5165 GB, free: 5.004 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.4373, allocations: 61.66 kB / 0.5166 GB, free: 4.938 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4374, allocations: 334.8 kB / 0.5169 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.4376, allocations: 83.97 kB / 0.517 GB, free: 4.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.4378, allocations: 179.8 kB / 0.5172 GB, free: 4.301 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.4382, allocations: 283.8 kB / 0.5174 GB, free: 3.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4382, allocations: 7.875 kB / 0.5174 GB, free: 3.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005911/0.4388, allocations: 444 kB / 0.5179 GB, free: 3.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4388, allocations: 11.94 kB / 0.5179 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.4388, allocations: 4.625 kB / 0.5179 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.439, allocations: 42.11 kB / 0.5179 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.4393, allocations: 79.89 kB / 0.518 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.4412, allocations: 2.763 MB / 0.5207 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.4414, allocations: 11.98 kB / 0.5207 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.4415, allocations: 16 kB / 0.5207 GB, free: 304 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.0001521/0.4416, allocations: 153.7 kB / 0.5209 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.4417, allocations: 31.81 kB / 0.5209 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005359/0.4422, allocations: 358.8 kB / 0.5212 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4422, allocations: 7.984 kB / 0.5212 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4423, allocations: 0.75 kB / 0.5212 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004957/0.4428, allocations: 0.6152 MB / 0.5218 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008911/0.4437, allocations: 0.767 MB / 0.5226 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.4437, allocations: 4 kB / 0.5226 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.4439, allocations: 51.91 kB / 0.5226 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.819e-05/0.444, allocations: 21.97 kB / 0.5227 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.444, allocations: 8 kB / 0.5227 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008153/0.4449, allocations: 1.382 MB / 0.524 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4449, allocations: 4.031 kB / 0.524 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006132/0.4455, allocations: 0.5149 MB / 0.5245 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/0.4456, allocations: 108.9 kB / 0.5246 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.4456, allocations: 4 kB / 0.5246 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.4459, allocations: 11.94 kB / 0.5247 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.4459, allocations: 24.03 kB / 0.5247 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.4459, allocations: 11.98 kB / 0.5247 GB, free: 11.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.4461, allocations: 186 kB / 0.5249 GB, free: 11.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4461, allocations: 0 / 0.5249 GB, free: 11.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004041/0.4465, allocations: 103.9 kB / 0.525 GB, free: 11.52 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.0009788/0.4475, allocations: 1.083 MB / 0.526 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006242/0.4481, allocations: 461.5 kB / 0.5265 GB, free: 9.914 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4482, allocations: 0 / 0.5265 GB, free: 9.914 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.4484, allocations: 218.5 kB / 0.5267 GB, free: 9.688 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008744/0.4493, allocations: 164.2 kB / 0.5268 GB, free: 9.535 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.4528, allocations: 3.254 MB / 0.53 GB, free: 6.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.4531, allocations: 0.7606 MB / 0.5307 GB, free: 5.285 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002264/0.4533, allocations: 58.86 kB / 0.5308 GB, free: 5.223 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.4535, allocations: 95.41 kB / 0.5309 GB, free: 5.129 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4535, allocations: 0 / 0.5309 GB, free: 5.129 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03529/0.4888, allocations: 9.287 MB / 0.54 GB, free: 11.78 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.08, allocations: 8.688 kB / 0.54 GB, free: 11.77 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/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