Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.001413/0.001413, 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.001747/0.001747, allocations: 210.9 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.46/1.46, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",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.002054/0.002054, allocations: 62.56 kB / 347.2 MB, free: 9.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2921, allocations: 49.14 MB / 396.4 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.2085/0.5006, allocations: 149.4 MB / 0.533 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004642/0.5053, allocations: 2.948 MB / 0.5358 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003969/0.5057, allocations: 7.938 kB / 0.5359 GB, free: 10.26 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007917/0.5065, allocations: 170.9 kB / 0.536 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.5078, allocations: 409.5 kB / 0.5364 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.509, allocations: 351.3 kB / 0.5367 GB, free: 9.348 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.5104, allocations: 0.9109 MB / 0.5376 GB, free: 8.434 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.5107, allocations: 64.89 kB / 0.5377 GB, free: 8.371 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.5129, allocations: 0.8196 MB / 0.5385 GB, free: 7.551 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005883/0.5135, allocations: 270.9 kB / 0.5388 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.5136, allocations: 32 kB / 0.5388 GB, free: 7.254 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.5141, allocations: 115.9 kB / 0.5389 GB, free: 7.141 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.5142, allocations: 99.59 kB / 0.539 GB, free: 7.043 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.5145, allocations: 163.4 kB / 0.5391 GB, free: 6.883 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008343/0.5154, allocations: 0.5139 MB / 0.5396 GB, free: 6.367 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5154, allocations: 0 / 0.5396 GB, free: 6.367 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.5154, allocations: 7.938 kB / 0.5397 GB, free: 6.359 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.5154, allocations: 0 / 0.5397 GB, free: 6.359 MB / 462.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.001125/0.5165, allocations: 0.5168 MB / 0.5402 GB, free: 5.812 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5165, allocations: 15.98 kB / 0.5402 GB, free: 5.797 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.64e-05/0.5166, allocations: 62.53 kB / 0.5402 GB, free: 5.727 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.5169, allocations: 43.8 kB / 0.5403 GB, free: 5.684 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005601/0.5175, allocations: 228.7 kB / 0.5405 GB, free: 5.434 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.5175, allocations: 16.5 kB / 0.5405 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/0.5176, allocations: 28 kB / 0.5405 GB, free: 5.387 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007209/0.5183, allocations: 0.545 MB / 0.5411 GB, free: 4.762 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.5183, allocations: 0 / 0.5411 GB, free: 4.762 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.5184, allocations: 15.98 kB / 0.5411 GB, free: 4.746 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.5184, allocations: 7.984 kB / 0.5411 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/0.5188, allocations: 205.5 kB / 0.5413 GB, free: 4.539 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.5208, allocations: 1.191 MB / 0.5424 GB, free: 3.281 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.5212, allocations: 166.7 kB / 0.5426 GB, free: 3.109 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.5214, allocations: 96.8 kB / 0.5427 GB, free: 3.012 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.5214, allocations: 4 kB / 0.5427 GB, free: 3.008 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.5214, allocations: 38.56 kB / 0.5427 GB, free: 2.961 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.5214, allocations: 0 / 0.5427 GB, free: 2.961 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005704/0.5271, allocations: 1.314 MB / 0.544 GB, free: 1.586 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.5272, allocations: 55.41 kB / 0.5441 GB, free: 1.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.5276, allocations: 264.9 kB / 0.5443 GB, free: 1.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.028e-05/0.5277, allocations: 29.7 kB / 0.5444 GB, free: 1.215 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.5278, allocations: 180.5 kB / 0.5445 GB, free: 1.035 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.528, allocations: 99.16 kB / 0.5446 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.5281, allocations: 85.58 kB / 0.5447 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.5283, allocations: 342.8 kB / 0.545 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.5285, allocations: 83.97 kB / 0.5451 GB, free: 432 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.5288, allocations: 199.7 kB / 0.5453 GB, free: 188 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.5293, allocations: 300 kB / 0.5456 GB, free: 15.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.5293, allocations: 7.984 kB / 0.5456 GB, free: 15.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000806/0.5301, allocations: 395.3 kB / 0.546 GB, free: 15.44 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.5301, allocations: 8 kB / 0.546 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5302, allocations: 8 kB / 0.546 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002746/0.5304, allocations: 69.69 kB / 0.5461 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.5308, allocations: 83.89 kB / 0.5461 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.5326, allocations: 1.855 MB / 0.5479 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.5328, allocations: 12.09 kB / 0.548 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/0.5329, allocations: 39.98 kB / 0.548 GB, free: 13.22 MB / 478.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002291/0.5331, allocations: 153.7 kB / 0.5481 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.5332, allocations: 23.86 kB / 0.5482 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009011/0.5341, allocations: 439.7 kB / 0.5486 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5341, allocations: 8 kB / 0.5486 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.5341, allocations: 3.938 kB / 0.5486 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006244/0.5348, allocations: 0.5591 MB / 0.5491 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.5359, allocations: 0.6642 MB / 0.5498 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/0.5359, allocations: 11.94 kB / 0.5498 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.5362, allocations: 67.95 kB / 0.5499 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-05/0.5363, allocations: 16.84 kB / 0.5499 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.5364, allocations: 20.05 kB / 0.5499 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.5375, allocations: 1.267 MB / 0.5511 GB, free: 9.707 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5375, allocations: 0 / 0.5511 GB, free: 9.707 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007394/0.5382, allocations: 491.4 kB / 0.5516 GB, free: 9.203 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.5383, allocations: 23.81 kB / 0.5516 GB, free: 9.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.5383, allocations: 4 kB / 0.5516 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.5386, allocations: 16.2 kB / 0.5517 GB, free: 9.16 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.5386, allocations: 23.97 kB / 0.5517 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.5387, allocations: 31.98 kB / 0.5517 GB, free: 9.105 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002114/0.5389, allocations: 193.1 kB / 0.5519 GB, free: 8.914 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5389, allocations: 0 / 0.5519 GB, free: 8.914 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005598/0.5394, allocations: 127.8 kB / 0.552 GB, free: 8.789 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.001366/0.5408, allocations: 1.062 MB / 0.553 GB, free: 7.691 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007108/0.5415, allocations: 355.2 kB / 0.5534 GB, free: 7.332 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.5415, allocations: 0 / 0.5534 GB, free: 7.332 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.5418, allocations: 230.5 kB / 0.5536 GB, free: 7.094 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.5429, allocations: 161 kB / 0.5538 GB, free: 6.938 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/0.5475, allocations: 3.198 MB / 0.5569 GB, free: 3.551 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.5477, allocations: 155.8 kB / 0.557 GB, free: 3.379 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004525/0.5481, allocations: 122.9 kB / 0.5572 GB, free: 3.262 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.5484, allocations: 123.4 kB / 0.5573 GB, free: 3.141 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5484, allocations: 4 kB / 0.5573 GB, free: 3.137 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2466/0.795, allocations: 12.86 MB / 0.5698 GB, free: 162 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.23, allocations: 17.86 kB / 0.5698 GB, free: 162 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_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_IdealGases_Nitrogen.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.86648730514571]