Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.001184/0.001184, allocations: 104.9 kB / 21.96 MB, free: 5.219 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.001228/0.001228, allocations: 214 kB / 25.26 MB, free: 3.129 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.279/1.279, allocations: 207.7 MB / 236.1 MB, free: 9.797 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.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",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.001618/0.001618, allocations: 50.89 kB / 348 MB, free: 9.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2264, allocations: 49.16 MB / 397.2 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.1703/0.3967, allocations: 149.3 MB / 0.5337 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003757/0.4004, allocations: 2.956 MB / 0.5365 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.4006, allocations: 7.938 kB / 0.5366 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.4011, allocations: 166.9 kB / 0.5367 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007875/0.4019, allocations: 413.5 kB / 0.5371 GB, free: 9.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007885/0.4027, allocations: 355.2 kB / 0.5374 GB, free: 9.402 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000923/0.4036, allocations: 0.9148 MB / 0.5383 GB, free: 8.484 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.4037, allocations: 76.88 kB / 0.5384 GB, free: 8.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.4053, allocations: 0.8075 MB / 0.5392 GB, free: 7.602 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.4057, allocations: 298.9 kB / 0.5395 GB, free: 7.309 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.591e-05/0.4057, allocations: 28 kB / 0.5395 GB, free: 7.281 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.406, allocations: 119.9 kB / 0.5396 GB, free: 7.164 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.4061, allocations: 99.59 kB / 0.5397 GB, free: 7.066 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.4063, allocations: 159.5 kB / 0.5399 GB, free: 6.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.4069, allocations: 0.5217 MB / 0.5404 GB, free: 6.387 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4069, allocations: 0 / 0.5404 GB, free: 6.387 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.4069, allocations: 0 / 0.5404 GB, free: 6.387 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.4069, allocations: 0 / 0.5404 GB, free: 6.387 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.0008277/0.4078, allocations: 0.5246 MB / 0.5409 GB, free: 5.832 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.4078, allocations: 11.98 kB / 0.5409 GB, free: 5.82 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.031e-05/0.4078, allocations: 8.5 kB / 0.5409 GB, free: 5.809 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.532e-05/0.4079, allocations: 62.53 kB / 0.541 GB, free: 5.738 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.4082, allocations: 43.8 kB / 0.541 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.4086, allocations: 228.7 kB / 0.5412 GB, free: 5.445 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.4086, allocations: 24.48 kB / 0.5413 GB, free: 5.422 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.4087, allocations: 24 kB / 0.5413 GB, free: 5.398 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.4093, allocations: 0.545 MB / 0.5418 GB, free: 4.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.4093, allocations: 4 kB / 0.5418 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.4093, allocations: 12 kB / 0.5418 GB, free: 4.754 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.4094, allocations: 4 kB / 0.5418 GB, free: 4.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.4097, allocations: 209.5 kB / 0.542 GB, free: 4.543 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.001706/0.4114, allocations: 1.195 MB / 0.5432 GB, free: 3.281 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.4117, allocations: 166.7 kB / 0.5434 GB, free: 3.109 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.4118, allocations: 88.83 kB / 0.5434 GB, free: 3.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.4119, allocations: 4 kB / 0.5434 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.4119, allocations: 30.56 kB / 0.5435 GB, free: 2.977 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.4119, allocations: 0 / 0.5435 GB, free: 2.977 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.005155/0.4171, allocations: 1.314 MB / 0.5448 GB, free: 1.602 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.4171, allocations: 55.41 kB / 0.5448 GB, free: 1.535 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.4174, allocations: 257 kB / 0.5451 GB, free: 1.273 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.4174, allocations: 37.64 kB / 0.5451 GB, free: 1.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.4175, allocations: 176.6 kB / 0.5453 GB, free: 1.055 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/0.4176, allocations: 99.12 kB / 0.5454 GB, free: 0.957 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.4177, allocations: 77.69 kB / 0.5454 GB, free: 0.875 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4179, allocations: 342.8 kB / 0.5458 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.418, allocations: 91.95 kB / 0.5458 GB, free: 452 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.4183, allocations: 199.7 kB / 0.546 GB, free: 208 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.4187, allocations: 299.8 kB / 0.5463 GB, free: 15.87 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4187, allocations: 0 / 0.5463 GB, free: 15.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006482/0.4193, allocations: 403.2 kB / 0.5467 GB, free: 15.46 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.4194, allocations: 8.062 kB / 0.5467 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.4194, allocations: 4 kB / 0.5467 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.4196, allocations: 77.67 kB / 0.5468 GB, free: 15.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.4199, allocations: 75.91 kB / 0.5469 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.4214, allocations: 1.855 MB / 0.5487 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.4216, allocations: 8 kB / 0.5487 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/0.4217, allocations: 43.98 kB / 0.5487 GB, free: 13.25 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.0001798/0.4219, allocations: 153.7 kB / 0.5489 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.4219, allocations: 35.81 kB / 0.5489 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008574/0.4228, allocations: 435.9 kB / 0.5493 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.4228, allocations: 7.984 kB / 0.5493 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4228, allocations: 3.938 kB / 0.5493 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005922/0.4234, allocations: 0.5591 MB / 0.5499 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.4244, allocations: 0.6642 MB / 0.5505 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4244, allocations: 0 / 0.5505 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.4248, allocations: 71.89 kB / 0.5506 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.886e-05/0.4248, allocations: 24.84 kB / 0.5506 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.4249, allocations: 16.05 kB / 0.5506 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.4259, allocations: 1.275 MB / 0.5519 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4259, allocations: 0 / 0.5519 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.4266, allocations: 487.3 kB / 0.5523 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.4266, allocations: 19.89 kB / 0.5524 GB, free: 9.203 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.4267, allocations: 8.219 kB / 0.5524 GB, free: 9.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.4269, allocations: 23.92 kB / 0.5524 GB, free: 9.172 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.4269, allocations: 23.97 kB / 0.5524 GB, free: 9.148 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/0.427, allocations: 31.98 kB / 0.5524 GB, free: 9.117 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.4272, allocations: 185.2 kB / 0.5526 GB, free: 8.938 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4272, allocations: 0 / 0.5526 GB, free: 8.938 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005071/0.4277, allocations: 127.9 kB / 0.5527 GB, free: 8.812 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.001287/0.429, allocations: 1.062 MB / 0.5538 GB, free: 7.715 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007043/0.4297, allocations: 355.2 kB / 0.5541 GB, free: 7.355 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4297, allocations: 4 kB / 0.5541 GB, free: 7.352 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.43, allocations: 234.4 kB / 0.5544 GB, free: 7.109 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009001/0.4309, allocations: 169.7 kB / 0.5545 GB, free: 6.945 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.435, allocations: 3.198 MB / 0.5576 GB, free: 3.559 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.4351, allocations: 151.9 kB / 0.5578 GB, free: 3.391 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003863/0.4355, allocations: 118.9 kB / 0.5579 GB, free: 3.277 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.4358, allocations: 123.4 kB / 0.558 GB, free: 3.156 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4358, allocations: 0 / 0.558 GB, free: 3.156 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1904/0.6261, allocations: 12.58 MB / 0.5703 GB, free: 162.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.99, allocations: 11.41 kB / 0.5703 GB, free: 162.2 MB / 478.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.37180547195021]