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.001801/0.001801, allocations: 115.5 kB / 18.45 MB, free: 4.625 MB / 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.002061/0.002061, allocations: 211.3 kB / 21.41 MB, free: 1.672 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.489/1.489, allocations: 207.6 MB / 231.8 MB, free: 4.07 MB / 174.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.00184/0.00184, allocations: 56.55 kB / 342.3 MB, free: 9.977 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1067, allocations: 49.12 MB / 391.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.393/0.4997, allocations: 144.5 MB / 0.5234 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002644/0.5023, allocations: 1.733 MB / 0.5251 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.5025, allocations: 8.688 kB / 0.5251 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000619/0.5031, allocations: 179.8 kB / 0.5252 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000667/0.5038, allocations: 331 kB / 0.5256 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.5049, allocations: 432 kB / 0.526 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.506, allocations: 0.8347 MB / 0.5268 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.5062, allocations: 79.97 kB / 0.5269 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007509/0.507, allocations: 404.6 kB / 0.5273 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004941/0.5074, allocations: 347.2 kB / 0.5276 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.5075, allocations: 30.38 kB / 0.5276 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.5079, allocations: 139.4 kB / 0.5277 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.508, allocations: 96.12 kB / 0.5278 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.5082, allocations: 193.7 kB / 0.528 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005983/0.5088, allocations: 488.8 kB / 0.5285 GB, free: 12.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5088, allocations: 0 / 0.5285 GB, free: 12.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5088, allocations: 0 / 0.5285 GB, free: 12.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.5088, allocations: 0 / 0.5285 GB, free: 12.87 MB / 414.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.0009206/0.5097, allocations: 0.6077 MB / 0.5291 GB, free: 12.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5098, allocations: 12.02 kB / 0.5291 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.875e-05/0.5099, allocations: 62.73 kB / 0.5292 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.5102, allocations: 44.73 kB / 0.5292 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.5106, allocations: 287.9 kB / 0.5295 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.5107, allocations: 28.88 kB / 0.5295 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.5107, allocations: 24.56 kB / 0.5295 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/0.5113, allocations: 301.3 kB / 0.5298 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.5113, allocations: 4 kB / 0.5298 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.5113, allocations: 8 kB / 0.5298 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.5113, allocations: 8 kB / 0.5298 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003536/0.5117, allocations: 206.1 kB / 0.53 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.5136, allocations: 1.289 MB / 0.5313 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.514, allocations: 186.5 kB / 0.5315 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.5142, allocations: 84.83 kB / 0.5315 GB, free: 9.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.5143, allocations: 166.2 kB / 0.5317 GB, free: 9.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.5144, allocations: 42.56 kB / 0.5317 GB, free: 9.238 MB / 414.1 MB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.5144, allocations: 0 / 0.5317 GB, free: 9.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.002625/0.517, allocations: 1.038 MB / 0.5328 GB, free: 8.102 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.5171, allocations: 59.39 kB / 0.5328 GB, free: 8.031 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.5173, allocations: 258.6 kB / 0.5331 GB, free: 7.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.5174, allocations: 33.7 kB / 0.5331 GB, free: 7.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.5175, allocations: 172.5 kB / 0.5333 GB, free: 7.559 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.162e-05/0.5176, allocations: 103.1 kB / 0.5334 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.5177, allocations: 65.66 kB / 0.5334 GB, free: 7.387 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5179, allocations: 338.8 kB / 0.5337 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.518, allocations: 75.97 kB / 0.5338 GB, free: 6.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.5182, allocations: 191.6 kB / 0.534 GB, free: 6.742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.5186, allocations: 283.8 kB / 0.5343 GB, free: 6.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.5186, allocations: 4.625 kB / 0.5343 GB, free: 6.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006481/0.5193, allocations: 448.1 kB / 0.5347 GB, free: 5.949 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.5193, allocations: 4 kB / 0.5347 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.5193, allocations: 4 kB / 0.5347 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.5195, allocations: 37.7 kB / 0.5347 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.5198, allocations: 80.11 kB / 0.5348 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.522, allocations: 2.759 MB / 0.5375 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.5222, allocations: 12.75 kB / 0.5375 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.5223, allocations: 15.98 kB / 0.5375 GB, free: 2.754 MB / 414.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.0001946/0.5225, allocations: 163.5 kB / 0.5377 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.5225, allocations: 31.81 kB / 0.5377 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/0.5231, allocations: 354.8 kB / 0.5381 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5231, allocations: 4 kB / 0.5381 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5231, allocations: 3.984 kB / 0.5381 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006054/0.5237, allocations: 0.6191 MB / 0.5387 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.5248, allocations: 0.7587 MB / 0.5394 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.5248, allocations: 3.938 kB / 0.5394 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.5251, allocations: 59.91 kB / 0.5395 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-05/0.5252, allocations: 16.84 kB / 0.5395 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.5252, allocations: 8 kB / 0.5395 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.5263, allocations: 1.378 MB / 0.5408 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5263, allocations: 4.031 kB / 0.5409 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.527, allocations: 0.511 MB / 0.5414 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.855e-05/0.5271, allocations: 108.9 kB / 0.5415 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.5271, allocations: 4 kB / 0.5415 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.5274, allocations: 8 kB / 0.5415 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.5274, allocations: 15.97 kB / 0.5415 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.5274, allocations: 15.98 kB / 0.5415 GB, free: 14.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.5276, allocations: 186 kB / 0.5417 GB, free: 14.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5276, allocations: 0 / 0.5417 GB, free: 14.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000479/0.5281, allocations: 107.9 kB / 0.5418 GB, free: 13.99 MB / 430.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.001197/0.5293, allocations: 1.099 MB / 0.5428 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000733/0.53, allocations: 433.9 kB / 0.5433 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.53, allocations: 8.062 kB / 0.5433 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.5303, allocations: 214.5 kB / 0.5435 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009249/0.5313, allocations: 168.9 kB / 0.5436 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/0.5354, allocations: 3.247 MB / 0.5468 GB, free: 8.539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.5358, allocations: 0.7606 MB / 0.5475 GB, free: 7.754 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002582/0.5361, allocations: 58.92 kB / 0.5476 GB, free: 7.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.5362, allocations: 91.41 kB / 0.5477 GB, free: 7.602 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5362, allocations: 4 kB / 0.5477 GB, free: 7.598 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04216/0.5784, allocations: 9.343 MB / 0.5568 GB, free: 14.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.69, allocations: 4.688 kB / 0.5568 GB, free: 14.18 MB / 446.1 MB " [Timeout remaining time 647] (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: 15.342579325995757]