Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.001284/0.001284, allocations: 103.6 kB / 21.18 MB, free: 472 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.00148/0.00148, allocations: 214.4 kB / 24.47 MB, free: 3.793 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.359/1.359, allocations: 207.7 MB / 235.3 MB, free: 9.781 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.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",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.001819/0.001819, allocations: 47.94 kB / 347.2 MB, free: 9.953 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2721, allocations: 49.16 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.1943/0.4663, allocations: 149.4 MB / 0.533 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004682/0.471, allocations: 2.948 MB / 0.5359 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.4713, allocations: 7.938 kB / 0.5359 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006756/0.4719, allocations: 174.9 kB / 0.5361 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.473, allocations: 409.6 kB / 0.5365 GB, free: 9.656 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009801/0.474, allocations: 355.2 kB / 0.5368 GB, free: 9.309 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.4751, allocations: 0.907 MB / 0.5377 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.4753, allocations: 76.88 kB / 0.5378 GB, free: 8.324 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.4776, allocations: 0.8097 MB / 0.5385 GB, free: 7.512 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004738/0.4781, allocations: 274.9 kB / 0.5388 GB, free: 7.242 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.592e-05/0.4782, allocations: 28 kB / 0.5388 GB, free: 7.215 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000469/0.4786, allocations: 115.9 kB / 0.5389 GB, free: 7.102 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.4788, allocations: 103.6 kB / 0.539 GB, free: 7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.479, allocations: 163.4 kB / 0.5392 GB, free: 6.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007197/0.4797, allocations: 0.5188 MB / 0.5397 GB, free: 6.324 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4797, allocations: 0 / 0.5397 GB, free: 6.324 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4797, allocations: 0 / 0.5397 GB, free: 6.324 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.4797, allocations: 0 / 0.5397 GB, free: 6.324 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.0009536/0.4807, allocations: 0.5246 MB / 0.5402 GB, free: 5.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.4807, allocations: 11.98 kB / 0.5402 GB, free: 5.758 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.165e-05/0.4808, allocations: 62.53 kB / 0.5403 GB, free: 5.688 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.4811, allocations: 47.8 kB / 0.5403 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004991/0.4816, allocations: 224.7 kB / 0.5406 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.4816, allocations: 20.5 kB / 0.5406 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/0.4817, allocations: 28 kB / 0.5406 GB, free: 5.344 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000685/0.4824, allocations: 0.5411 MB / 0.5411 GB, free: 4.723 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.4824, allocations: 0 / 0.5411 GB, free: 4.723 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.4824, allocations: 12 kB / 0.5411 GB, free: 4.711 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.4824, allocations: 11.98 kB / 0.5411 GB, free: 4.699 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003571/0.4828, allocations: 201.6 kB / 0.5413 GB, free: 4.504 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.001871/0.4847, allocations: 1.191 MB / 0.5425 GB, free: 3.246 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.485, allocations: 166.7 kB / 0.5427 GB, free: 3.074 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.4852, allocations: 88.83 kB / 0.5427 GB, free: 2.984 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.4852, allocations: 7.984 kB / 0.5428 GB, free: 2.977 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.4852, allocations: 34.56 kB / 0.5428 GB, free: 2.934 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/0.4852, allocations: 0 / 0.5428 GB, free: 2.934 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.00563/0.4909, allocations: 1.318 MB / 0.5441 GB, free: 1.555 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.4909, allocations: 55.41 kB / 0.5441 GB, free: 1.488 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.4912, allocations: 260.9 kB / 0.5444 GB, free: 1.223 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.4913, allocations: 33.7 kB / 0.5444 GB, free: 1.184 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.4914, allocations: 180.5 kB / 0.5446 GB, free: 1.004 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/0.4915, allocations: 99.16 kB / 0.5447 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.4917, allocations: 85.64 kB / 0.5448 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4918, allocations: 338.8 kB / 0.5451 GB, free: 488 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.492, allocations: 83.97 kB / 0.5452 GB, free: 404 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.4923, allocations: 203.7 kB / 0.5454 GB, free: 156 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.4927, allocations: 299.9 kB / 0.5456 GB, free: 15.81 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.4927, allocations: 3.984 kB / 0.5456 GB, free: 15.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007058/0.4935, allocations: 398.9 kB / 0.546 GB, free: 15.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4935, allocations: 4.406 kB / 0.546 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4935, allocations: 8 kB / 0.546 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002298/0.4937, allocations: 69.69 kB / 0.5461 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.4941, allocations: 83.89 kB / 0.5462 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.4957, allocations: 1.863 MB / 0.548 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.4959, allocations: 12.06 kB / 0.548 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-05/0.496, allocations: 43.98 kB / 0.5481 GB, free: 13.18 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.0002103/0.4962, allocations: 149.7 kB / 0.5482 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.4963, allocations: 27.86 kB / 0.5482 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008704/0.4972, allocations: 435.7 kB / 0.5486 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4972, allocations: 11.98 kB / 0.5487 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4972, allocations: 3.938 kB / 0.5487 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005991/0.4978, allocations: 0.5591 MB / 0.5492 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.4989, allocations: 0.6642 MB / 0.5498 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4989, allocations: 3.938 kB / 0.5499 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.4992, allocations: 67.89 kB / 0.5499 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.967e-05/0.4993, allocations: 24.84 kB / 0.5499 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.4994, allocations: 16.05 kB / 0.55 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.5004, allocations: 1.275 MB / 0.5512 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5004, allocations: 0 / 0.5512 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007246/0.5011, allocations: 487.3 kB / 0.5517 GB, free: 9.168 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.5012, allocations: 23.84 kB / 0.5517 GB, free: 9.145 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.5012, allocations: 8 kB / 0.5517 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.5015, allocations: 16.2 kB / 0.5517 GB, free: 9.121 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.5015, allocations: 27.91 kB / 0.5517 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.5016, allocations: 27.98 kB / 0.5518 GB, free: 9.066 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.5018, allocations: 189.2 kB / 0.5519 GB, free: 8.879 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5018, allocations: 0 / 0.5519 GB, free: 8.879 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005363/0.5023, allocations: 123.9 kB / 0.5521 GB, free: 8.758 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.001297/0.5036, allocations: 1.062 MB / 0.5531 GB, free: 7.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007057/0.5043, allocations: 355.2 kB / 0.5534 GB, free: 7.301 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5043, allocations: 0 / 0.5534 GB, free: 7.301 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.5047, allocations: 226.5 kB / 0.5537 GB, free: 7.066 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009555/0.5056, allocations: 168.3 kB / 0.5538 GB, free: 6.902 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/0.5101, allocations: 3.186 MB / 0.5569 GB, free: 3.527 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.5103, allocations: 155.8 kB / 0.5571 GB, free: 3.355 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004598/0.5107, allocations: 122.9 kB / 0.5572 GB, free: 3.238 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.511, allocations: 127.4 kB / 0.5573 GB, free: 3.113 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.511, allocations: 0 / 0.5573 GB, free: 3.113 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2159/0.7269, allocations: 12.85 MB / 0.5699 GB, free: 161.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.35, allocations: 12.77 kB / 0.5699 GB, free: 161.8 MB / 478.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.678970902226865]