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.001673/0.001673, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.002004/0.002004, allocations: 216.7 kB / 24.49 MB, free: 4.09 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.407/1.407, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.001778/0.001778, allocations: 51.92 kB / 347.2 MB, free: 10.1 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.273, allocations: 49.17 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2158/0.4888, allocations: 173.5 MB / 0.5565 GB, free: 5.219 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004378/0.4931, allocations: 3.259 MB / 0.5597 GB, free: 1.945 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.4933, allocations: 7.938 kB / 0.5597 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.4939, allocations: 174.9 kB / 0.5599 GB, free: 1.766 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009304/0.4949, allocations: 413.5 kB / 0.5603 GB, free: 1.363 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.4958, allocations: 355.2 kB / 0.5606 GB, free: 1.016 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.4968, allocations: 0.9148 MB / 0.5615 GB, free: 100 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.497, allocations: 84.86 kB / 0.5616 GB, free: 16 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2446/0.7415, allocations: 0.7986 MB / 0.5624 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004856/0.742, allocations: 288.1 kB / 0.5626 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.83e-05/0.7421, allocations: 31.59 kB / 0.5627 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003595/0.7425, allocations: 125.8 kB / 0.5628 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.7426, allocations: 97.08 kB / 0.5629 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002222/0.7428, allocations: 187.4 kB / 0.5631 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000671/0.7435, allocations: 0.5184 MB / 0.5636 GB, free: 2.352 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.7435, allocations: 1.781 kB / 0.5636 GB, free: 2.352 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.7435, allocations: 0 / 0.5636 GB, free: 2.352 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.7435, allocations: 0 / 0.5636 GB, free: 2.352 MB / 478.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.0009878/0.7445, allocations: 0.5167 MB / 0.5641 GB, free: 18.01 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.7445, allocations: 14.3 kB / 0.5641 GB, free: 18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.517e-05/0.7446, allocations: 64.08 kB / 0.5642 GB, free: 17.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.7449, allocations: 44.88 kB / 0.5642 GB, free: 17.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.7454, allocations: 223.3 kB / 0.5644 GB, free: 17.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.7454, allocations: 19.72 kB / 0.5644 GB, free: 17.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.7454, allocations: 26.94 kB / 0.5645 GB, free: 17.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.7459, allocations: 319.8 kB / 0.5648 GB, free: 17.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.746, allocations: 0.5938 kB / 0.5648 GB, free: 17.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.746, allocations: 16.06 kB / 0.5648 GB, free: 17.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.746, allocations: 7.062 kB / 0.5648 GB, free: 17.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.7463, allocations: 209.8 kB / 0.565 GB, free: 17.7 MB / 494.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.001956/0.7483, allocations: 1.561 MB / 0.5665 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.7486, allocations: 165.4 kB / 0.5667 GB, free: 16.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.7488, allocations: 90.3 kB / 0.5667 GB, free: 16.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.7488, allocations: 7.234 kB / 0.5668 GB, free: 16.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.7488, allocations: 36.41 kB / 0.5668 GB, free: 16.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.7488, allocations: 0.8438 kB / 0.5668 GB, free: 16.48 MB / 494.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.005462/0.7543, allocations: 1.325 MB / 0.5681 GB, free: 16.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.7543, allocations: 54.66 kB / 0.5681 GB, free: 16.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.7546, allocations: 255 kB / 0.5684 GB, free: 15.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.7546, allocations: 31.36 kB / 0.5684 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.7547, allocations: 181.8 kB / 0.5686 GB, free: 15.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/0.7548, allocations: 101.5 kB / 0.5687 GB, free: 15.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.7549, allocations: 82.22 kB / 0.5688 GB, free: 15.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.755, allocations: 337.5 kB / 0.5691 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.7552, allocations: 88.2 kB / 0.5692 GB, free: 15.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.7554, allocations: 192 kB / 0.5693 GB, free: 15.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.7558, allocations: 297.2 kB / 0.5696 GB, free: 15.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.7558, allocations: 1.062 kB / 0.5696 GB, free: 15.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006688/0.7565, allocations: 407.7 kB / 0.57 GB, free: 15.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.7565, allocations: 10.44 kB / 0.57 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.7565, allocations: 3.719 kB / 0.57 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/0.7567, allocations: 72.12 kB / 0.5701 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.7571, allocations: 85.55 kB / 0.5702 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.7587, allocations: 1.851 MB / 0.572 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.759, allocations: 7.844 kB / 0.572 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.759, allocations: 38.72 kB / 0.572 GB, free: 13.36 MB / 494.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.0002077/0.7592, allocations: 157.1 kB / 0.5722 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.7593, allocations: 31.62 kB / 0.5722 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008425/0.7601, allocations: 443.9 kB / 0.5726 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.7601, allocations: 3.781 kB / 0.5726 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.7601, allocations: 0 / 0.5726 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005797/0.7607, allocations: 0.5598 MB / 0.5732 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.7618, allocations: 0.7001 MB / 0.5739 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7618, allocations: 1 kB / 0.5739 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.7621, allocations: 68.59 kB / 0.5739 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.037e-05/0.7622, allocations: 21.3 kB / 0.574 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.7622, allocations: 21.66 kB / 0.574 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009545/0.7632, allocations: 1.28 MB / 0.5752 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.7632, allocations: 8.188 kB / 0.5752 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006569/0.7638, allocations: 481.8 kB / 0.5757 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.7639, allocations: 26.28 kB / 0.5757 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.764, allocations: 6.625 kB / 0.5757 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.7642, allocations: 10.81 kB / 0.5757 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.7643, allocations: 29.23 kB / 0.5758 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/0.7643, allocations: 30.62 kB / 0.5758 GB, free: 10.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.7645, allocations: 187.5 kB / 0.576 GB, free: 10.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7645, allocations: 0.9062 kB / 0.576 GB, free: 10.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005845/0.7651, allocations: 127.5 kB / 0.5761 GB, free: 10.89 MB / 494.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.001237/0.7663, allocations: 1.057 MB / 0.5771 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006879/0.767, allocations: 368.6 kB / 0.5775 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.767, allocations: 0.5625 kB / 0.5775 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002966/0.7673, allocations: 223.3 kB / 0.5777 GB, free: 9.961 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009308/0.7683, allocations: 168.3 kB / 0.5779 GB, free: 9.945 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.7727, allocations: 3.188 MB / 0.581 GB, free: 8.293 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.7731, allocations: 0.7667 MB / 0.5817 GB, free: 7.598 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004468/0.7736, allocations: 115.9 kB / 0.5818 GB, free: 7.582 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.7738, allocations: 127.3 kB / 0.582 GB, free: 7.574 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7738, allocations: 2.469 kB / 0.582 GB, free: 7.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04366/0.8174, allocations: 12.22 MB / 0.5939 GB, free: 6.309 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.04, allocations: 2.812 kB / 0.5939 GB, free: 6.309 MB / 494.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.540505205004592]