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.001301/0.001301, allocations: 110.2 kB / 17.73 MB, free: 5.23 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.00117/0.00117, allocations: 188.1 kB / 18.66 MB, free: 4.305 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.4/1.4, 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.002327/0.002327, allocations: 47.92 kB / 328.1 MB, free: 3.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09893/0.1013, 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.4007/0.502, allocations: 144 MB / 0.5065 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.5051, allocations: 1.733 MB / 0.5082 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.5054, allocations: 7.938 kB / 0.5082 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007061/0.5061, allocations: 178.9 kB / 0.5084 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006918/0.5068, allocations: 322.3 kB / 0.5087 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.508, allocations: 419.5 kB / 0.5091 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.5091, allocations: 0.8446 MB / 0.5099 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.5093, allocations: 93.55 kB / 0.51 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007124/0.51, allocations: 406.6 kB / 0.5104 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.5105, allocations: 322.9 kB / 0.5107 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-05/0.5106, allocations: 32 kB / 0.5108 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.5109, allocations: 141.1 kB / 0.5109 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.5111, allocations: 91.77 kB / 0.511 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.5113, allocations: 187.3 kB / 0.5112 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006178/0.5119, allocations: 492.9 kB / 0.5116 GB, free: 10.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.5119, allocations: 0 / 0.5116 GB, free: 10.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.5119, allocations: 3.984 kB / 0.5116 GB, free: 10.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.5119, allocations: 4 kB / 0.5116 GB, free: 10.3 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.0008915/0.5128, allocations: 0.6 MB / 0.5122 GB, free: 9.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.5129, allocations: 8.031 kB / 0.5122 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.064e-05/0.513, allocations: 62.72 kB / 0.5123 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002635/0.5132, allocations: 44.73 kB / 0.5123 GB, free: 9.527 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.5137, allocations: 295.9 kB / 0.5126 GB, free: 9.199 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.5137, allocations: 16.94 kB / 0.5126 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.5138, allocations: 28.56 kB / 0.5127 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.5143, allocations: 301.3 kB / 0.5129 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.5143, allocations: 6.375 kB / 0.513 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.5144, allocations: 12 kB / 0.513 GB, free: 8.828 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.5144, allocations: 12 kB / 0.513 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.5147, allocations: 210.1 kB / 0.5132 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.5166, allocations: 1.285 MB / 0.5144 GB, free: 7.203 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.517, allocations: 190.6 kB / 0.5146 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.5172, allocations: 92.83 kB / 0.5147 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.5174, allocations: 166.2 kB / 0.5149 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.5174, allocations: 42.55 kB / 0.5149 GB, free: 6.664 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 2.374e-06/0.5174, allocations: 0 / 0.5149 GB, free: 6.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002574/0.52, allocations: 1.038 MB / 0.5159 GB, free: 5.527 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.5201, allocations: 55.41 kB / 0.516 GB, free: 5.461 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.5204, allocations: 262.6 kB / 0.5162 GB, free: 5.195 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.5204, allocations: 29.7 kB / 0.5162 GB, free: 5.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.5205, allocations: 180.5 kB / 0.5164 GB, free: 4.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.09e-05/0.5206, allocations: 91.17 kB / 0.5165 GB, free: 4.891 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5207, allocations: 73.64 kB / 0.5166 GB, free: 4.812 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5209, allocations: 334.8 kB / 0.5169 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.5211, allocations: 83.97 kB / 0.517 GB, free: 4.395 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.5213, allocations: 179.7 kB / 0.5171 GB, free: 4.176 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.5218, allocations: 287.8 kB / 0.5174 GB, free: 3.852 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5218, allocations: 3.938 kB / 0.5174 GB, free: 3.848 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006441/0.5224, allocations: 443.9 kB / 0.5178 GB, free: 3.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5225, allocations: 8 kB / 0.5179 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5225, allocations: 4 kB / 0.5179 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.5226, allocations: 46.11 kB / 0.5179 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.523, allocations: 71.91 kB / 0.518 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002909/0.5259, allocations: 2.772 MB / 0.5207 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.5262, allocations: 8 kB / 0.5207 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.5263, allocations: 19.98 kB / 0.5207 GB, free: 176 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.0002732/0.5266, allocations: 161.6 kB / 0.5209 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.5267, allocations: 27.86 kB / 0.5209 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008306/0.5276, allocations: 358.7 kB / 0.5212 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5276, allocations: 0 / 0.5212 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5276, allocations: 4 kB / 0.5212 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009108/0.5285, allocations: 0.6153 MB / 0.5218 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.5301, allocations: 0.7631 MB / 0.5226 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.5302, allocations: 0 / 0.5226 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.5306, allocations: 59.91 kB / 0.5226 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.5308, allocations: 16.84 kB / 0.5227 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.5308, allocations: 8 kB / 0.5227 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.5323, allocations: 1.385 MB / 0.524 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5323, allocations: 160 / 0.524 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.5331, allocations: 0.5226 MB / 0.5245 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.452e-05/0.5332, allocations: 108.9 kB / 0.5246 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.5332, allocations: 8 kB / 0.5246 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.5334, allocations: 8 kB / 0.5246 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.5335, allocations: 20.03 kB / 0.5247 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.5335, allocations: 15.98 kB / 0.5247 GB, free: 11.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001957/0.5337, allocations: 182 kB / 0.5249 GB, free: 11.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5337, allocations: 0 / 0.5249 GB, free: 11.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004751/0.5342, allocations: 103.9 kB / 0.525 GB, free: 11.4 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.001151/0.5354, allocations: 1.091 MB / 0.526 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007568/0.5362, allocations: 461.5 kB / 0.5265 GB, free: 9.781 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5362, allocations: 0 / 0.5265 GB, free: 9.781 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.5364, allocations: 214.6 kB / 0.5267 GB, free: 9.559 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008979/0.5374, allocations: 165.5 kB / 0.5268 GB, free: 9.406 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.5416, allocations: 3.256 MB / 0.53 GB, free: 5.938 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.542, allocations: 0.7606 MB / 0.5307 GB, free: 5.152 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000281/0.5423, allocations: 50.94 kB / 0.5308 GB, free: 5.098 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.5425, allocations: 95.41 kB / 0.5309 GB, free: 5.004 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5425, allocations: 0 / 0.5309 GB, free: 5.004 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04519/0.5877, allocations: 9.288 MB / 0.54 GB, free: 11.65 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.68, allocations: 12.62 kB / 0.54 GB, free: 11.64 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