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.001591/0.001591, allocations: 107.6 kB / 21.18 MB, free: 452 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.001554/0.001554, allocations: 215 kB / 24.47 MB, free: 3.777 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.412/1.412, 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.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",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="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.001814/0.001814, allocations: 54.58 kB / 347.2 MB, free: 9.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2633, allocations: 49.16 MB / 396.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.1872/0.4505, allocations: 149.4 MB / 0.533 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004541/0.4551, allocations: 2.952 MB / 0.5359 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/0.4554, allocations: 7.938 kB / 0.5359 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005865/0.4559, allocations: 163 kB / 0.5361 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009482/0.4569, allocations: 417.5 kB / 0.5365 GB, free: 9.617 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009248/0.4578, allocations: 351.2 kB / 0.5368 GB, free: 9.273 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.4589, allocations: 0.907 MB / 0.5377 GB, free: 8.363 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.4591, allocations: 72.88 kB / 0.5377 GB, free: 8.293 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.461, allocations: 0.8154 MB / 0.5385 GB, free: 7.477 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004252/0.4614, allocations: 274.9 kB / 0.5388 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.942e-05/0.4615, allocations: 32 kB / 0.5388 GB, free: 7.176 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.4618, allocations: 115.9 kB / 0.5389 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.4619, allocations: 99.66 kB / 0.539 GB, free: 6.965 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.4621, allocations: 163.4 kB / 0.5392 GB, free: 6.805 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006569/0.4628, allocations: 0.5178 MB / 0.5397 GB, free: 6.285 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4628, allocations: 0 / 0.5397 GB, free: 6.285 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.4628, allocations: 0 / 0.5397 GB, free: 6.285 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.4628, allocations: 0 / 0.5397 GB, free: 6.285 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.0008935/0.4637, allocations: 0.5246 MB / 0.5402 GB, free: 5.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.4637, allocations: 15.98 kB / 0.5402 GB, free: 5.715 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.131e-05/0.4638, allocations: 62.53 kB / 0.5403 GB, free: 5.645 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.4641, allocations: 47.73 kB / 0.5403 GB, free: 5.598 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005677/0.4647, allocations: 228.7 kB / 0.5406 GB, free: 5.348 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.4647, allocations: 20.5 kB / 0.5406 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.4647, allocations: 28 kB / 0.5406 GB, free: 5.297 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007864/0.4655, allocations: 0.5372 MB / 0.5411 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.4655, allocations: 0 / 0.5411 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.4656, allocations: 15.98 kB / 0.5411 GB, free: 4.664 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4656, allocations: 8 kB / 0.5411 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/0.466, allocations: 201.6 kB / 0.5413 GB, free: 4.461 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.001872/0.4678, allocations: 1.195 MB / 0.5425 GB, free: 3.199 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.4682, allocations: 166.7 kB / 0.5427 GB, free: 3.027 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.4683, allocations: 88.77 kB / 0.5427 GB, free: 2.938 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.4684, allocations: 4 kB / 0.5428 GB, free: 2.934 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.89e-05/0.4685, allocations: 34.56 kB / 0.5428 GB, free: 2.891 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.4685, allocations: 4 kB / 0.5428 GB, free: 2.887 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.005676/0.4741, allocations: 1.314 MB / 0.5441 GB, free: 1.512 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.4742, allocations: 55.41 kB / 0.5441 GB, free: 1.445 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.4745, allocations: 260.9 kB / 0.5444 GB, free: 1.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.4745, allocations: 37.64 kB / 0.5444 GB, free: 1.137 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.4747, allocations: 176.5 kB / 0.5446 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.277e-05/0.4748, allocations: 95.17 kB / 0.5447 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.4749, allocations: 85.64 kB / 0.5448 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.4751, allocations: 338.8 kB / 0.5451 GB, free: 448 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.4753, allocations: 83.97 kB / 0.5452 GB, free: 364 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.4756, allocations: 203.7 kB / 0.5453 GB, free: 116 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.4761, allocations: 303.9 kB / 0.5456 GB, free: 15.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.4761, allocations: 0 / 0.5456 GB, free: 15.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007489/0.4769, allocations: 399.3 kB / 0.546 GB, free: 15.37 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4769, allocations: 8 kB / 0.546 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4769, allocations: 4 kB / 0.546 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/0.4772, allocations: 73.69 kB / 0.5461 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.4775, allocations: 79.89 kB / 0.5462 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.4792, allocations: 1.863 MB / 0.548 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.4794, allocations: 16.12 kB / 0.548 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.159e-05/0.4795, allocations: 39.98 kB / 0.5481 GB, free: 13.14 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.0001934/0.4797, allocations: 149.7 kB / 0.5482 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/0.4797, allocations: 27.86 kB / 0.5482 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008907/0.4806, allocations: 443.7 kB / 0.5486 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4806, allocations: 7.938 kB / 0.5487 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4806, allocations: 3.938 kB / 0.5487 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006118/0.4813, allocations: 0.5591 MB / 0.5492 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.4824, allocations: 0.6642 MB / 0.5498 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4824, allocations: 0 / 0.5498 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.4827, allocations: 75.89 kB / 0.5499 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-05/0.4828, allocations: 16.84 kB / 0.5499 GB, free: 11.03 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.4829, allocations: 20.05 kB / 0.55 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.484, allocations: 1.267 MB / 0.5512 GB, free: 9.633 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.484, allocations: 0 / 0.5512 GB, free: 9.633 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007254/0.4847, allocations: 487.3 kB / 0.5517 GB, free: 9.133 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.4848, allocations: 23.84 kB / 0.5517 GB, free: 9.109 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.4849, allocations: 8 kB / 0.5517 GB, free: 9.102 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.4851, allocations: 24.14 kB / 0.5517 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.4851, allocations: 23.97 kB / 0.5517 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.4852, allocations: 27.98 kB / 0.5518 GB, free: 9.027 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002226/0.4854, allocations: 189.2 kB / 0.5519 GB, free: 8.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4854, allocations: 0 / 0.5519 GB, free: 8.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005168/0.4859, allocations: 127.9 kB / 0.5521 GB, free: 8.715 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.001401/0.4873, allocations: 1.058 MB / 0.5531 GB, free: 7.621 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006759/0.488, allocations: 359.2 kB / 0.5534 GB, free: 7.258 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.488, allocations: 0 / 0.5534 GB, free: 7.258 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.4883, allocations: 222.5 kB / 0.5537 GB, free: 7.027 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000924/0.4892, allocations: 173.7 kB / 0.5538 GB, free: 6.859 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.4937, allocations: 3.194 MB / 0.5569 GB, free: 3.477 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.4939, allocations: 159.8 kB / 0.5571 GB, free: 3.301 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004214/0.4943, allocations: 122.9 kB / 0.5572 GB, free: 3.184 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.4946, allocations: 123.4 kB / 0.5573 GB, free: 3.062 MB / 478.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4946, allocations: 0 / 0.5573 GB, free: 3.062 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2039/0.6984, allocations: 12.85 MB / 0.5699 GB, free: 161.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.4, allocations: 9.109 kB / 0.5699 GB, free: 161.7 MB / 478.1 MB " [Timeout remaining time 646] (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.833083818200976]