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.00563/0.00563, allocations: 100.3 kB / 21.96 MB, free: 5.211 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.001517/0.001517, allocations: 213.5 kB / 25.25 MB, free: 3.145 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.271/1.271, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",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="cs",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.00161/0.00161, allocations: 51.92 kB / 348 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.221, allocations: 49.16 MB / 397.2 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.1678/0.3888, allocations: 149.3 MB / 0.5337 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003834/0.3926, allocations: 2.944 MB / 0.5365 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002568/0.3929, allocations: 7.938 kB / 0.5365 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005742/0.3934, allocations: 174.9 kB / 0.5367 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009217/0.3944, allocations: 413.5 kB / 0.5371 GB, free: 9.918 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008506/0.3952, allocations: 351.3 kB / 0.5374 GB, free: 9.574 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.3963, allocations: 0.9148 MB / 0.5383 GB, free: 8.656 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.3964, allocations: 76.86 kB / 0.5384 GB, free: 8.582 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.3982, allocations: 0.8114 MB / 0.5392 GB, free: 7.77 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004639/0.3986, allocations: 287 kB / 0.5395 GB, free: 7.488 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.218e-05/0.3987, allocations: 32 kB / 0.5395 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.399, allocations: 119.9 kB / 0.5396 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.3991, allocations: 99.59 kB / 0.5397 GB, free: 7.242 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.3993, allocations: 167.4 kB / 0.5399 GB, free: 7.078 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.3999, allocations: 0.51 MB / 0.5404 GB, free: 6.566 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3999, allocations: 4 kB / 0.5404 GB, free: 6.562 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3999, allocations: 0 / 0.5404 GB, free: 6.562 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.4, allocations: 0 / 0.5404 GB, free: 6.562 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.0008297/0.4008, allocations: 0.5284 MB / 0.5409 GB, free: 6.004 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.4008, allocations: 11.98 kB / 0.5409 GB, free: 5.992 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.848e-05/0.4008, allocations: 8.5 kB / 0.5409 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.627e-05/0.4009, allocations: 58.55 kB / 0.541 GB, free: 5.914 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.4012, allocations: 43.8 kB / 0.541 GB, free: 5.871 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.4016, allocations: 232.7 kB / 0.5412 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.4016, allocations: 20.5 kB / 0.5413 GB, free: 5.598 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.648e-05/0.4016, allocations: 24 kB / 0.5413 GB, free: 5.574 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.4023, allocations: 0.5372 MB / 0.5418 GB, free: 4.953 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.4023, allocations: 3.938 kB / 0.5418 GB, free: 4.949 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.4023, allocations: 12 kB / 0.5418 GB, free: 4.938 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.4023, allocations: 8 kB / 0.5418 GB, free: 4.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.4027, allocations: 205.5 kB / 0.542 GB, free: 4.727 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.001681/0.4043, allocations: 1.202 MB / 0.5432 GB, free: 3.457 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.4046, allocations: 166.7 kB / 0.5434 GB, free: 3.285 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.4048, allocations: 88.83 kB / 0.5434 GB, free: 3.195 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.4048, allocations: 7.984 kB / 0.5434 GB, free: 3.188 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.4049, allocations: 34.56 kB / 0.5435 GB, free: 3.145 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.4049, allocations: 0 / 0.5435 GB, free: 3.145 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.005223/0.4101, allocations: 1.31 MB / 0.5448 GB, free: 1.773 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.4101, allocations: 55.39 kB / 0.5448 GB, free: 1.707 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.4104, allocations: 260.9 kB / 0.5451 GB, free: 1.441 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.4104, allocations: 29.7 kB / 0.5451 GB, free: 1.406 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.4105, allocations: 176.6 kB / 0.5453 GB, free: 1.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.448e-05/0.4106, allocations: 103.1 kB / 0.5454 GB, free: 1.129 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.4107, allocations: 77.69 kB / 0.5454 GB, free: 1.047 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4109, allocations: 342.8 kB / 0.5458 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.411, allocations: 95.89 kB / 0.5458 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.4113, allocations: 195.8 kB / 0.546 GB, free: 384 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.4117, allocations: 299.8 kB / 0.5463 GB, free: 40 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.4117, allocations: 0 / 0.5463 GB, free: 40 kB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006531/0.4123, allocations: 399.2 kB / 0.5467 GB, free: 15.64 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4124, allocations: 8 kB / 0.5467 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4124, allocations: 7.984 kB / 0.5467 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.4126, allocations: 77.69 kB / 0.5468 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.4129, allocations: 87.83 kB / 0.5469 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.4144, allocations: 1.847 MB / 0.5487 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.4145, allocations: 11.98 kB / 0.5487 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.026e-05/0.4146, allocations: 40 kB / 0.5487 GB, free: 13.41 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.0001718/0.4148, allocations: 161.6 kB / 0.5489 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.4149, allocations: 31.81 kB / 0.5489 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008361/0.4157, allocations: 435.9 kB / 0.5493 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.4157, allocations: 4 kB / 0.5493 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4157, allocations: 3.938 kB / 0.5493 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005566/0.4163, allocations: 0.563 MB / 0.5499 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000982/0.4172, allocations: 0.6642 MB / 0.5505 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4172, allocations: 0 / 0.5505 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.4175, allocations: 67.95 kB / 0.5506 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.791e-05/0.4176, allocations: 28.84 kB / 0.5506 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.4177, allocations: 12 kB / 0.5506 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009109/0.4186, allocations: 1.271 MB / 0.5519 GB, free: 9.895 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4186, allocations: 4.031 kB / 0.5519 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006559/0.4192, allocations: 479.4 kB / 0.5523 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.4193, allocations: 23.88 kB / 0.5524 GB, free: 9.375 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.4193, allocations: 12.16 kB / 0.5524 GB, free: 9.363 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.4196, allocations: 8 kB / 0.5524 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.4196, allocations: 27.95 kB / 0.5524 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.4197, allocations: 35.98 kB / 0.5524 GB, free: 9.293 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001913/0.4198, allocations: 189.1 kB / 0.5526 GB, free: 9.109 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4198, allocations: 0 / 0.5526 GB, free: 9.109 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004887/0.4203, allocations: 127.9 kB / 0.5527 GB, free: 8.984 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.001254/0.4216, allocations: 1.062 MB / 0.5538 GB, free: 7.887 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006468/0.4222, allocations: 359.1 kB / 0.5541 GB, free: 7.523 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4222, allocations: 4.125 kB / 0.5541 GB, free: 7.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.4225, allocations: 234.4 kB / 0.5544 GB, free: 7.277 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008544/0.4234, allocations: 165.5 kB / 0.5545 GB, free: 7.117 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/0.4275, allocations: 3.198 MB / 0.5576 GB, free: 3.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.4276, allocations: 159.8 kB / 0.5578 GB, free: 3.555 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003866/0.428, allocations: 106.9 kB / 0.5579 GB, free: 3.453 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.4283, allocations: 127.4 kB / 0.558 GB, free: 3.328 MB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4283, allocations: 0 / 0.558 GB, free: 3.328 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1753/0.6035, allocations: 12.57 MB / 0.5703 GB, free: 162.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.08, allocations: 15.59 kB / 0.5703 GB, free: 162.4 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.413747068028897]