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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 113.4 kB / 17.73 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 184.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 59.91 kB / 328.1 MB, free: 3.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0948/0.09647, allocations: 46.62 MB / 374.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3904/0.487, allocations: 172.8 MB / 0.5346 GB, free: 2.676 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.491, allocations: 3.224 MB / 0.5378 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.4912, allocations: 7.938 kB / 0.5378 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.4918, allocations: 171 kB / 0.5379 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009026/0.4927, allocations: 405.7 kB / 0.5383 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009178/0.4937, allocations: 343.8 kB / 0.5386 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.4948, allocations: 0.8952 MB / 0.5395 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.495, allocations: 108.6 kB / 0.5396 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.4969, allocations: 0.7895 MB / 0.5404 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.4972, allocations: 263 kB / 0.5406 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.05e-05/0.4973, allocations: 28 kB / 0.5407 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.4976, allocations: 131.7 kB / 0.5408 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.4978, allocations: 95.78 kB / 0.5409 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.498, allocations: 179.3 kB / 0.5411 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006547/0.4987, allocations: 0.517 MB / 0.5416 GB, free: 11.54 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4987, allocations: 4 kB / 0.5416 GB, free: 11.53 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4987, allocations: 0 / 0.5416 GB, free: 11.53 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.4987, allocations: 0 / 0.5416 GB, free: 11.53 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.0009006/0.4996, allocations: 0.5999 MB / 0.5422 GB, free: 10.88 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4997, allocations: 11.97 kB / 0.5422 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.844e-05/0.4997, allocations: 65.36 kB / 0.5422 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.5, allocations: 43.8 kB / 0.5423 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.5005, allocations: 294.5 kB / 0.5426 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.5005, allocations: 20.56 kB / 0.5426 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.5006, allocations: 24 kB / 0.5426 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.5011, allocations: 323.6 kB / 0.5429 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.5011, allocations: 0 / 0.5429 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.5012, allocations: 12 kB / 0.5429 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.5012, allocations: 4 kB / 0.5429 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.5015, allocations: 209.5 kB / 0.5431 GB, free: 9.824 MB / 478.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.001919/0.5035, allocations: 1.597 MB / 0.5447 GB, free: 8.078 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.5038, allocations: 167.1 kB / 0.5448 GB, free: 7.906 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.504, allocations: 104.8 kB / 0.5449 GB, free: 7.801 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.504, allocations: 7.984 kB / 0.5449 GB, free: 7.793 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.5041, allocations: 30.56 kB / 0.545 GB, free: 7.754 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.422e-06/0.5041, allocations: 4 kB / 0.545 GB, free: 7.75 MB / 478.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.005477/0.5096, allocations: 1.618 MB / 0.5466 GB, free: 6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.5096, allocations: 59.34 kB / 0.5466 GB, free: 5.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.5099, allocations: 253 kB / 0.5469 GB, free: 5.676 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.5099, allocations: 37.7 kB / 0.5469 GB, free: 5.633 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.5101, allocations: 172.5 kB / 0.5471 GB, free: 5.457 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.598e-05/0.5102, allocations: 107.1 kB / 0.5472 GB, free: 5.352 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.5103, allocations: 77.69 kB / 0.5472 GB, free: 5.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5105, allocations: 342.8 kB / 0.5476 GB, free: 4.926 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.5106, allocations: 83.97 kB / 0.5476 GB, free: 4.844 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.5109, allocations: 191.8 kB / 0.5478 GB, free: 4.613 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/0.5113, allocations: 296.3 kB / 0.5481 GB, free: 4.281 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.5113, allocations: 4 kB / 0.5481 GB, free: 4.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000713/0.5121, allocations: 411.1 kB / 0.5485 GB, free: 3.863 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5121, allocations: 8 kB / 0.5485 GB, free: 3.855 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5121, allocations: 4 kB / 0.5485 GB, free: 3.852 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002342/0.5124, allocations: 69.69 kB / 0.5486 GB, free: 3.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.5127, allocations: 87.83 kB / 0.5487 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.5143, allocations: 1.955 MB / 0.5506 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.5145, allocations: 15.98 kB / 0.5506 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.5146, allocations: 33.12 kB / 0.5506 GB, free: 1.527 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.0001897/0.5148, allocations: 166.3 kB / 0.5508 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.5149, allocations: 35.8 kB / 0.5508 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008691/0.5157, allocations: 436.7 kB / 0.5512 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.5157, allocations: 0 / 0.5512 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5158, allocations: 7.938 kB / 0.5512 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005837/0.5163, allocations: 0.563 MB / 0.5518 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1766/0.6929, allocations: 0.7231 MB / 0.5525 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.693, allocations: 1.375 kB / 0.5525 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.6933, allocations: 68.91 kB / 0.5526 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.549e-05/0.6934, allocations: 21.16 kB / 0.5526 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.6935, allocations: 16.09 kB / 0.5526 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006387/0.6941, allocations: 1.383 MB / 0.5539 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6941, allocations: 1 kB / 0.5539 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.6947, allocations: 476.7 kB / 0.5544 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.6948, allocations: 107.3 kB / 0.5545 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.6949, allocations: 6.688 kB / 0.5545 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.6952, allocations: 12.16 kB / 0.5545 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.6952, allocations: 26.14 kB / 0.5545 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/0.6953, allocations: 30.28 kB / 0.5546 GB, free: 168.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.6955, allocations: 194.3 kB / 0.5548 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6955, allocations: 2.156 kB / 0.5548 GB, free: 168.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000698/0.6962, allocations: 123 kB / 0.5549 GB, free: 168.7 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.001133/0.6973, allocations: 1.054 MB / 0.5559 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006385/0.698, allocations: 382.7 kB / 0.5563 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.698, allocations: 0 / 0.5563 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.6982, allocations: 233.5 kB / 0.5565 GB, free: 167.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009019/0.6991, allocations: 170.1 kB / 0.5567 GB, free: 167.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.7026, allocations: 3.176 MB / 0.5598 GB, free: 165.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.7028, allocations: 0.7633 MB / 0.5605 GB, free: 165 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004389/0.7032, allocations: 126.8 kB / 0.5606 GB, free: 165 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.7035, allocations: 128.7 kB / 0.5608 GB, free: 164.9 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.7035, allocations: 1.438 kB / 0.5608 GB, free: 164.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.7478, allocations: 11.9 MB / 0.5724 GB, free: 161.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.04, allocations: 6.906 kB / 0.5724 GB, free: 161.3 MB / 478.1 MB (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.000404 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) 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) Reference file matches