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.001772/0.001772, 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.002063/0.002063, 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.593/1.593, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.002136/0.002136, allocations: 55.92 kB / 347.2 MB, free: 9.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3298, allocations: 49.16 MB / 396.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2018/0.5316, allocations: 149.4 MB / 0.533 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004913/0.5365, allocations: 2.948 MB / 0.5359 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003832/0.5369, allocations: 7.938 kB / 0.5359 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00081/0.5377, allocations: 170.9 kB / 0.5361 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.5391, allocations: 421.5 kB / 0.5365 GB, free: 9.629 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009218/0.54, allocations: 351.2 kB / 0.5368 GB, free: 9.285 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.5411, allocations: 0.9031 MB / 0.5377 GB, free: 8.379 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.5413, allocations: 76.86 kB / 0.5378 GB, free: 8.305 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001965/0.5433, allocations: 0.8157 MB / 0.5386 GB, free: 7.488 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.5437, allocations: 275 kB / 0.5388 GB, free: 7.219 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.175e-05/0.5437, allocations: 28 kB / 0.5388 GB, free: 7.191 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003057/0.5441, allocations: 119.9 kB / 0.539 GB, free: 7.074 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.5442, allocations: 103.6 kB / 0.5391 GB, free: 6.973 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.5444, allocations: 159.5 kB / 0.5392 GB, free: 6.816 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006321/0.545, allocations: 0.5139 MB / 0.5397 GB, free: 6.301 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.545, allocations: 0 / 0.5397 GB, free: 6.301 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.545, allocations: 0 / 0.5397 GB, free: 6.301 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.465e-06/0.545, allocations: 3.938 kB / 0.5397 GB, free: 6.297 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.0008906/0.5459, allocations: 0.5245 MB / 0.5402 GB, free: 5.742 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.546, allocations: 11.98 kB / 0.5402 GB, free: 5.73 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.048e-05/0.546, allocations: 62.55 kB / 0.5403 GB, free: 5.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.5463, allocations: 47.73 kB / 0.5403 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.5468, allocations: 224.7 kB / 0.5406 GB, free: 5.367 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.5468, allocations: 20.5 kB / 0.5406 GB, free: 5.344 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.5469, allocations: 32 kB / 0.5406 GB, free: 5.312 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.5475, allocations: 0.5411 MB / 0.5411 GB, free: 4.691 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.5475, allocations: 0 / 0.5411 GB, free: 4.691 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.5475, allocations: 12 kB / 0.5411 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.5475, allocations: 8 kB / 0.5412 GB, free: 4.672 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/0.5479, allocations: 205.5 kB / 0.5413 GB, free: 4.473 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.001753/0.5496, allocations: 1.195 MB / 0.5425 GB, free: 3.211 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.55, allocations: 166.7 kB / 0.5427 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.5501, allocations: 84.83 kB / 0.5428 GB, free: 2.953 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.5501, allocations: 7.984 kB / 0.5428 GB, free: 2.945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.5502, allocations: 34.56 kB / 0.5428 GB, free: 2.902 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.352e-06/0.5502, allocations: 0 / 0.5428 GB, free: 2.902 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.005552/0.5557, allocations: 1.31 MB / 0.5441 GB, free: 1.531 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.5558, allocations: 55.41 kB / 0.5441 GB, free: 1.465 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.5561, allocations: 256.9 kB / 0.5444 GB, free: 1.203 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.5561, allocations: 33.7 kB / 0.5444 GB, free: 1.164 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.5563, allocations: 176.5 kB / 0.5446 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.775e-05/0.5564, allocations: 103.1 kB / 0.5447 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.5565, allocations: 85.64 kB / 0.5448 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.5566, allocations: 342.6 kB / 0.5451 GB, free: 464 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.5568, allocations: 91.95 kB / 0.5452 GB, free: 372 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.557, allocations: 195.8 kB / 0.5454 GB, free: 132 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/0.5575, allocations: 303.8 kB / 0.5456 GB, free: 15.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5575, allocations: 0 / 0.5456 GB, free: 15.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006774/0.5582, allocations: 402.8 kB / 0.546 GB, free: 15.38 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.5582, allocations: 4.406 kB / 0.546 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5582, allocations: 11.98 kB / 0.546 GB, free: 15.37 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002197/0.5584, allocations: 69.69 kB / 0.5461 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.5588, allocations: 87.83 kB / 0.5462 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.5605, allocations: 1.847 MB / 0.548 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.5607, allocations: 20.23 kB / 0.548 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.5607, allocations: 36 kB / 0.5481 GB, free: 13.16 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.0001888/0.5609, allocations: 157.7 kB / 0.5482 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.561, allocations: 27.86 kB / 0.5482 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008537/0.5618, allocations: 439.7 kB / 0.5486 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5618, allocations: 8 kB / 0.5487 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.5618, allocations: 3.938 kB / 0.5487 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005809/0.5624, allocations: 0.5591 MB / 0.5492 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.5636, allocations: 0.6681 MB / 0.5499 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5636, allocations: 0 / 0.5499 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.5639, allocations: 63.95 kB / 0.5499 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.712e-05/0.564, allocations: 24.84 kB / 0.5499 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.564, allocations: 12 kB / 0.55 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.565, allocations: 1.275 MB / 0.5512 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.565, allocations: 0 / 0.5512 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.5657, allocations: 479.3 kB / 0.5517 GB, free: 9.156 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.5657, allocations: 31.83 kB / 0.5517 GB, free: 9.125 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.5658, allocations: 8 kB / 0.5517 GB, free: 9.117 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.566, allocations: 8.219 kB / 0.5517 GB, free: 9.109 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.5661, allocations: 31.94 kB / 0.5517 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.5661, allocations: 39.92 kB / 0.5518 GB, free: 9.039 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.5663, allocations: 189.2 kB / 0.5519 GB, free: 8.852 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5663, allocations: 3.938 kB / 0.552 GB, free: 8.848 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004993/0.5668, allocations: 123.9 kB / 0.5521 GB, free: 8.727 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.001256/0.5681, allocations: 1.051 MB / 0.5531 GB, free: 7.641 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000692/0.5687, allocations: 363.2 kB / 0.5534 GB, free: 7.273 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5688, allocations: 0 / 0.5534 GB, free: 7.273 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.5691, allocations: 234.4 kB / 0.5537 GB, free: 7.031 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009288/0.57, allocations: 160.3 kB / 0.5538 GB, free: 6.875 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.5742, allocations: 3.186 MB / 0.5569 GB, free: 3.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.5744, allocations: 159.8 kB / 0.5571 GB, free: 3.324 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004183/0.5748, allocations: 118.9 kB / 0.5572 GB, free: 3.211 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.5751, allocations: 131.3 kB / 0.5573 GB, free: 3.082 MB / 478.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5751, allocations: 0 / 0.5573 GB, free: 3.082 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2346/0.8097, allocations: 12.86 MB / 0.5699 GB, free: 161.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.21, allocations: 4.797 kB / 0.5699 GB, free: 161.8 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_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_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.csv","/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: 16.906918440945446]