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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 54.58 kB / 347.2 MB, free: 9.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2954, allocations: 49.15 MB / 396.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2024/0.4979, allocations: 124.1 MB / 0.5083 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.5008, allocations: 1.631 MB / 0.5099 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.501, allocations: 7.938 kB / 0.5099 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007713/0.5018, allocations: 170.9 kB / 0.51 GB, free: 4.781 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007113/0.5025, allocations: 326.2 kB / 0.5103 GB, free: 4.461 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.5037, allocations: 423 kB / 0.5107 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.5047, allocations: 0.8601 MB / 0.5116 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.505, allocations: 76.69 kB / 0.5117 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007237/0.5057, allocations: 410.6 kB / 0.5121 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005706/0.5063, allocations: 322.9 kB / 0.5124 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.5063, allocations: 28 kB / 0.5124 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.5067, allocations: 123.7 kB / 0.5125 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.5068, allocations: 107.6 kB / 0.5126 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.5071, allocations: 171.4 kB / 0.5128 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007163/0.5078, allocations: 488.6 kB / 0.5132 GB, free: 1.488 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5078, allocations: 0 / 0.5132 GB, free: 1.488 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5078, allocations: 0 / 0.5132 GB, free: 1.488 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.5078, allocations: 0 / 0.5132 GB, free: 1.488 MB / 430.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.001074/0.5089, allocations: 0.5286 MB / 0.5138 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.749e-05/0.5089, allocations: 11.98 kB / 0.5138 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.5091, allocations: 62.72 kB / 0.5138 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003227/0.5094, allocations: 44.75 kB / 0.5139 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00056/0.5099, allocations: 226 kB / 0.5141 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.51, allocations: 16.88 kB / 0.5141 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.51, allocations: 28.38 kB / 0.5141 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/0.5107, allocations: 0.5231 MB / 0.5146 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.5108, allocations: 4 kB / 0.5146 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.5108, allocations: 12 kB / 0.5147 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.5108, allocations: 12 kB / 0.5147 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003823/0.5112, allocations: 205.8 kB / 0.5149 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.513, allocations: 0.9444 MB / 0.5158 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.5135, allocations: 192 kB / 0.516 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.5136, allocations: 80.83 kB / 0.516 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.791e-05/0.5137, allocations: 19.98 kB / 0.5161 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.5137, allocations: 34.56 kB / 0.5161 GB, free: 14.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.5137, allocations: 0 / 0.5161 GB, free: 14.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.00263/0.5164, allocations: 0.8049 MB / 0.5169 GB, free: 13.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.5164, allocations: 63.34 kB / 0.5169 GB, free: 13.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.5168, allocations: 261.8 kB / 0.5172 GB, free: 13.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.5168, allocations: 33.7 kB / 0.5172 GB, free: 13.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.517, allocations: 176.5 kB / 0.5174 GB, free: 12.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.445e-05/0.5171, allocations: 107.1 kB / 0.5175 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.5172, allocations: 61.66 kB / 0.5176 GB, free: 12.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.5173, allocations: 338.8 kB / 0.5179 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.5175, allocations: 79.97 kB / 0.518 GB, free: 12.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.5178, allocations: 187.7 kB / 0.5181 GB, free: 12.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.5183, allocations: 283.8 kB / 0.5184 GB, free: 11.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5183, allocations: 0 / 0.5184 GB, free: 11.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006426/0.5189, allocations: 374.8 kB / 0.5188 GB, free: 11.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5189, allocations: 4 kB / 0.5188 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5189, allocations: 4 kB / 0.5188 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001625/0.5191, allocations: 46.11 kB / 0.5188 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.5194, allocations: 71.91 kB / 0.5189 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.5218, allocations: 2.551 MB / 0.5214 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.522, allocations: 12 kB / 0.5214 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.522, allocations: 19.98 kB / 0.5214 GB, free: 8.492 MB / 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.0002112/0.5222, allocations: 157.9 kB / 0.5216 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.5223, allocations: 27.86 kB / 0.5216 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005693/0.5229, allocations: 281.6 kB / 0.5218 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5229, allocations: 8.094 kB / 0.5219 GB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.5229, allocations: 0 / 0.5219 GB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006477/0.5235, allocations: 0.5395 MB / 0.5224 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.5246, allocations: 0.6165 MB / 0.523 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5246, allocations: 0 / 0.523 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.5249, allocations: 59.89 kB / 0.523 GB, free: 6.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.267e-05/0.525, allocations: 24.8 kB / 0.5231 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.525, allocations: 8.031 kB / 0.5231 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.5261, allocations: 1.267 MB / 0.5243 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5261, allocations: 4.031 kB / 0.5243 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006962/0.5268, allocations: 439.6 kB / 0.5247 GB, free: 4.773 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.5269, allocations: 32.03 kB / 0.5248 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.5269, allocations: 19.88 kB / 0.5248 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.5271, allocations: 8 kB / 0.5248 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.5272, allocations: 15.91 kB / 0.5248 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.5272, allocations: 19.98 kB / 0.5248 GB, free: 4.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000214/0.5274, allocations: 181.2 kB / 0.525 GB, free: 4.504 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5274, allocations: 0 / 0.525 GB, free: 4.504 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004694/0.5279, allocations: 103.9 kB / 0.5251 GB, free: 4.402 MB / 446.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.001232/0.5291, allocations: 1.007 MB / 0.5261 GB, free: 3.363 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007882/0.5299, allocations: 441.9 kB / 0.5265 GB, free: 2.906 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.5299, allocations: 0 / 0.5265 GB, free: 2.906 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.5302, allocations: 219 kB / 0.5267 GB, free: 2.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009322/0.5312, allocations: 160.1 kB / 0.5269 GB, free: 2.523 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.5356, allocations: 3.112 MB / 0.5299 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.5357, allocations: 151.9 kB / 0.53 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002736/0.536, allocations: 66.88 kB / 0.5301 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.5362, allocations: 87.41 kB / 0.5302 GB, free: 14.91 MB / 462.1 MB Notification: Performance of SimCode: time 1.463e-06/0.5362, allocations: 4 kB / 0.5302 GB, free: 14.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05168/0.5879, allocations: 10.43 MB / 0.5404 GB, free: 4.395 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.19, allocations: 4.062 kB / 0.5404 GB, free: 4.391 MB / 462.1 MB " [Timeout remaining time 646] (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.000201919 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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.760718713980168]