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.001114/0.001114, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.001315/0.001316, allocations: 191 kB / 18.66 MB, free: 4.445 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.365/1.365, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001357/0.001357, allocations: 47.92 kB / 328.1 MB, free: 3.773 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08859/0.08996, allocations: 46.62 MB / 374.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3731/0.4631, allocations: 172.7 MB / 0.5346 GB, free: 2.676 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003567/0.4667, allocations: 3.224 MB / 0.5378 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.467, allocations: 4 kB / 0.5378 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.4675, allocations: 174.9 kB / 0.5379 GB, free: 15.26 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007883/0.4683, allocations: 407.5 kB / 0.5383 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007658/0.4691, allocations: 339.8 kB / 0.5386 GB, free: 14.53 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008625/0.4699, allocations: 0.8953 MB / 0.5395 GB, free: 13.63 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.4701, allocations: 108.6 kB / 0.5396 GB, free: 13.53 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.4719, allocations: 0.794 MB / 0.5404 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.4722, allocations: 271 kB / 0.5406 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.4723, allocations: 28 kB / 0.5407 GB, free: 12.44 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.4726, allocations: 119.9 kB / 0.5408 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.4727, allocations: 99.7 kB / 0.5409 GB, free: 12.22 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.4729, allocations: 187.3 kB / 0.5411 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.4734, allocations: 0.5141 MB / 0.5416 GB, free: 11.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4734, allocations: 0 / 0.5416 GB, free: 11.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4734, allocations: 4 kB / 0.5416 GB, free: 11.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.4735, allocations: 0 / 0.5416 GB, free: 11.52 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.0007826/0.4742, allocations: 0.5892 MB / 0.5421 GB, free: 10.88 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4743, allocations: 8.031 kB / 0.5422 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.373e-05/0.4744, allocations: 62.48 kB / 0.5422 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.4746, allocations: 47.61 kB / 0.5423 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.4751, allocations: 298.3 kB / 0.5425 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.4751, allocations: 16.56 kB / 0.5426 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.4751, allocations: 28 kB / 0.5426 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.4756, allocations: 323.6 kB / 0.5429 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.4756, allocations: 4 kB / 0.5429 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.4757, allocations: 12 kB / 0.5429 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.4757, allocations: 4 kB / 0.5429 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.476, allocations: 205.6 kB / 0.5431 GB, free: 9.82 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.001681/0.4777, allocations: 1.589 MB / 0.5447 GB, free: 8.082 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.478, allocations: 171.1 kB / 0.5448 GB, free: 7.906 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.4781, allocations: 100.7 kB / 0.5449 GB, free: 7.805 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.4782, allocations: 7.984 kB / 0.5449 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.4782, allocations: 38.56 kB / 0.545 GB, free: 7.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.4782, allocations: 4 kB / 0.545 GB, free: 7.746 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.005416/0.4836, allocations: 1.614 MB / 0.5465 GB, free: 6.004 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.4837, allocations: 55.41 kB / 0.5466 GB, free: 5.938 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.4839, allocations: 252.9 kB / 0.5468 GB, free: 5.684 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.484, allocations: 29.7 kB / 0.5469 GB, free: 5.648 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.4841, allocations: 180.2 kB / 0.547 GB, free: 5.465 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.602e-05/0.4842, allocations: 94.64 kB / 0.5471 GB, free: 5.371 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.4843, allocations: 77.69 kB / 0.5472 GB, free: 5.289 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4844, allocations: 342.8 kB / 0.5475 GB, free: 4.945 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.4846, allocations: 87.97 kB / 0.5476 GB, free: 4.859 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.4848, allocations: 191.7 kB / 0.5478 GB, free: 4.629 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.4852, allocations: 300.3 kB / 0.5481 GB, free: 4.293 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4852, allocations: 0 / 0.5481 GB, free: 4.293 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006248/0.4859, allocations: 406.9 kB / 0.5485 GB, free: 3.883 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.4859, allocations: 16.03 kB / 0.5485 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4859, allocations: 0 / 0.5485 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/0.4861, allocations: 69.69 kB / 0.5486 GB, free: 3.793 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.4865, allocations: 83.89 kB / 0.5486 GB, free: 3.711 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.4879, allocations: 1.952 MB / 0.5505 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.4881, allocations: 24.23 kB / 0.5506 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/0.4882, allocations: 36 kB / 0.5506 GB, free: 1.539 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.0001721/0.4884, allocations: 158.3 kB / 0.5507 GB, free: 1.375 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.4884, allocations: 31.7 kB / 0.5508 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007931/0.4892, allocations: 442.8 kB / 0.5512 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4893, allocations: 4 kB / 0.5512 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.4893, allocations: 0 / 0.5512 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005102/0.4898, allocations: 0.563 MB / 0.5518 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1824/0.6722, allocations: 0.7245 MB / 0.5525 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/0.6723, allocations: 3.25 kB / 0.5525 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.6726, allocations: 69.7 kB / 0.5525 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-05/0.6727, allocations: 24.66 kB / 0.5526 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.6728, allocations: 13.44 kB / 0.5526 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006496/0.6734, allocations: 1.38 MB / 0.5539 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6734, allocations: 2.75 kB / 0.5539 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006017/0.674, allocations: 480 kB / 0.5544 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.6741, allocations: 107 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.6742, allocations: 9.625 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.6744, allocations: 8.5 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.6744, allocations: 24.3 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/0.6745, allocations: 31.56 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.6747, allocations: 192.6 kB / 0.5547 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6747, allocations: 0 / 0.5547 GB, free: 168.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00056/0.6752, allocations: 120.1 kB / 0.5548 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.001147/0.6764, allocations: 1.058 MB / 0.5559 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006766/0.6771, allocations: 377.1 kB / 0.5562 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6771, allocations: 1.531 kB / 0.5562 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.6774, allocations: 227.2 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.0009279/0.6783, allocations: 171.2 kB / 0.5566 GB, free: 167.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.6817, allocations: 3.18 MB / 0.5597 GB, free: 165.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.682, allocations: 0.7623 MB / 0.5605 GB, free: 165.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003945/0.6824, allocations: 115.5 kB / 0.5606 GB, free: 165 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.6826, allocations: 133.8 kB / 0.5607 GB, free: 164.9 MB / 478.1 MB Notification: Performance of SimCode: time 3.61e-07/0.6826, allocations: 0 / 0.5607 GB, free: 164.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/0.7855, allocations: 12.03 MB / 0.5725 GB, free: 161.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.98, allocations: 5.75 kB / 0.5725 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 & /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