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.001014/0.001014, allocations: 106.6 kB / 17.73 MB, free: 5.348 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.001128/0.001129, allocations: 191 kB / 18.66 MB, free: 4.418 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.259/1.259, 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.001272/0.001272, allocations: 51.92 kB / 328.1 MB, free: 3.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07873/0.08001, 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.3297/0.4097, allocations: 172.8 MB / 0.5346 GB, free: 2.656 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003382/0.4132, allocations: 3.217 MB / 0.5378 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.4134, allocations: 4 kB / 0.5378 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.4139, allocations: 178.9 kB / 0.5379 GB, free: 15.24 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007251/0.4146, allocations: 407.5 kB / 0.5383 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007274/0.4153, allocations: 347.8 kB / 0.5386 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007072/0.4161, allocations: 0.8914 MB / 0.5395 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.4162, allocations: 112.6 kB / 0.5396 GB, free: 13.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.4176, allocations: 0.7874 MB / 0.5404 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.4179, allocations: 263 kB / 0.5406 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.418, allocations: 28 kB / 0.5407 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.4182, allocations: 131.8 kB / 0.5408 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.4184, allocations: 95.67 kB / 0.5409 GB, free: 12.21 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.4185, allocations: 187.3 kB / 0.5411 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005162/0.4191, allocations: 0.5141 MB / 0.5416 GB, free: 11.51 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4191, allocations: 4 kB / 0.5416 GB, free: 11.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4191, allocations: 0 / 0.5416 GB, free: 11.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.4191, allocations: 0 / 0.5416 GB, free: 11.5 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.0007529/0.4199, allocations: 0.5814 MB / 0.5421 GB, free: 10.87 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.4199, allocations: 8.031 kB / 0.5421 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.332e-05/0.42, allocations: 70.47 kB / 0.5422 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002578/0.4202, allocations: 43.56 kB / 0.5423 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.4206, allocations: 298.3 kB / 0.5425 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.4207, allocations: 20.56 kB / 0.5426 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.4207, allocations: 24 kB / 0.5426 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.4212, allocations: 327.6 kB / 0.5429 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4212, allocations: 0 / 0.5429 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.4212, allocations: 12 kB / 0.5429 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.4212, allocations: 4 kB / 0.5429 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.4215, allocations: 209.5 kB / 0.5431 GB, free: 9.805 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.001546/0.4231, allocations: 1.589 MB / 0.5447 GB, free: 8.066 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.4234, allocations: 171.1 kB / 0.5448 GB, free: 7.891 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.4235, allocations: 104.8 kB / 0.5449 GB, free: 7.785 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.4235, allocations: 4 kB / 0.5449 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.4236, allocations: 34.56 kB / 0.545 GB, free: 7.738 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.292e-06/0.4236, allocations: 4 kB / 0.545 GB, free: 7.734 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.005115/0.4287, allocations: 1.614 MB / 0.5465 GB, free: 5.992 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.4287, allocations: 55.41 kB / 0.5466 GB, free: 5.926 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.429, allocations: 248.9 kB / 0.5468 GB, free: 5.676 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.429, allocations: 37.7 kB / 0.5469 GB, free: 5.633 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.79e-05/0.4291, allocations: 176.2 kB / 0.547 GB, free: 5.453 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/0.4292, allocations: 98.64 kB / 0.5471 GB, free: 5.355 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.4293, allocations: 81.69 kB / 0.5472 GB, free: 5.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.4294, allocations: 334.8 kB / 0.5475 GB, free: 4.934 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.4295, allocations: 91.95 kB / 0.5476 GB, free: 4.844 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.4297, allocations: 187.7 kB / 0.5478 GB, free: 4.617 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.4301, allocations: 308.3 kB / 0.5481 GB, free: 4.273 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4301, allocations: 0 / 0.5481 GB, free: 4.273 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000587/0.4307, allocations: 403 kB / 0.5485 GB, free: 3.867 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4307, allocations: 11.94 kB / 0.5485 GB, free: 3.855 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4308, allocations: 4 kB / 0.5485 GB, free: 3.852 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.4309, allocations: 69.67 kB / 0.5486 GB, free: 3.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.4313, allocations: 83.91 kB / 0.5486 GB, free: 3.695 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.4325, allocations: 1.958 MB / 0.5505 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.4327, allocations: 8.562 kB / 0.5506 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.4328, allocations: 36 kB / 0.5506 GB, free: 1.531 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.000147/0.4329, allocations: 162.3 kB / 0.5507 GB, free: 1.363 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.433, allocations: 27.72 kB / 0.5508 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007638/0.4338, allocations: 451 kB / 0.5512 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.4338, allocations: 3.938 kB / 0.5512 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.4338, allocations: 4 kB / 0.5512 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004699/0.4343, allocations: 0.563 MB / 0.5518 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2099/0.6442, allocations: 0.7273 MB / 0.5525 GB, free: 38.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6442, allocations: 1.375 kB / 0.5525 GB, free: 38.94 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.6446, allocations: 72.27 kB / 0.5525 GB, free: 38.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.57e-05/0.6447, allocations: 21.95 kB / 0.5526 GB, free: 38.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.6447, allocations: 13.7 kB / 0.5526 GB, free: 38.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006396/0.6454, allocations: 1.378 MB / 0.5539 GB, free: 37.61 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6454, allocations: 0.6562 kB / 0.5539 GB, free: 37.61 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006626/0.646, allocations: 483.9 kB / 0.5544 GB, free: 37.46 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.6461, allocations: 99.14 kB / 0.5545 GB, free: 37.36 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.6462, allocations: 7.016 kB / 0.5545 GB, free: 37.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.6464, allocations: 9.469 kB / 0.5545 GB, free: 37.36 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.6465, allocations: 28.92 kB / 0.5545 GB, free: 37.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.6466, allocations: 32.11 kB / 0.5545 GB, free: 37.36 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.6467, allocations: 190.6 kB / 0.5547 GB, free: 37.29 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6468, allocations: 0 / 0.5547 GB, free: 37.29 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005588/0.6473, allocations: 124.5 kB / 0.5548 GB, free: 37.29 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.001036/0.6484, allocations: 1.058 MB / 0.5559 GB, free: 36.61 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006056/0.649, allocations: 368.6 kB / 0.5562 GB, free: 36.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.649, allocations: 1.031 kB / 0.5562 GB, free: 36.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.6493, allocations: 230.8 kB / 0.5565 GB, free: 36.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008726/0.6501, allocations: 163.8 kB / 0.5566 GB, free: 36.39 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/0.6543, allocations: 3.181 MB / 0.5597 GB, free: 34.79 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.6546, allocations: 0.7628 MB / 0.5605 GB, free: 34.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005361/0.6551, allocations: 122.4 kB / 0.5606 GB, free: 34.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.6554, allocations: 127.8 kB / 0.5607 GB, free: 34.07 MB / 478.1 MB Notification: Performance of SimCode: time 2.134e-06/0.6554, allocations: 0 / 0.5607 GB, free: 34.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/0.6884, allocations: 12.03 MB / 0.5725 GB, free: 33.01 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.92, allocations: 2.688 kB / 0.5725 GB, free: 33.01 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 & /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 --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) 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) Reference file matches