Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_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.001115/0.001115, allocations: 106.9 kB / 17.33 MB, free: 6 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.001132/0.001132, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2044/0.2044, allocations: 44.18 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.61 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1262, allocations: 60.82 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4411/0.5673, allocations: 172.6 MB / 0.6264 GB, free: 4.336 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00742/0.5748, allocations: 5.405 MB / 0.6317 GB, free: 14.92 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008383/0.5757, allocations: 23.81 kB / 0.6317 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.5768, allocations: 286.4 kB / 0.632 GB, free: 14.61 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003578/0.5804, allocations: 1.147 MB / 0.6331 GB, free: 13.46 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.583, allocations: 0.8966 MB / 0.634 GB, free: 12.58 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002917/0.5859, allocations: 1.852 MB / 0.6358 GB, free: 10.72 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008581/0.5868, allocations: 453.3 kB / 0.6362 GB, free: 10.28 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002684/0.5895, allocations: 1.063 MB / 0.6372 GB, free: 9.211 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.5907, allocations: 0.7047 MB / 0.6379 GB, free: 8.504 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.5908, allocations: 64 kB / 0.638 GB, free: 8.441 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.5924, allocations: 0.5812 MB / 0.6385 GB, free: 7.859 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003429/0.5927, allocations: 263.3 kB / 0.6388 GB, free: 7.602 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005577/0.5933, allocations: 398.2 kB / 0.6392 GB, free: 7.211 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002205/0.5955, allocations: 1.309 MB / 0.6405 GB, free: 5.898 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5955, allocations: 0 / 0.6405 GB, free: 5.898 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5956, allocations: 0 / 0.6405 GB, free: 5.898 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.5956, allocations: 0 / 0.6405 GB, free: 5.898 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002447/0.598, allocations: 1.102 MB / 0.6415 GB, free: 4.742 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.943e-05/0.5981, allocations: 16.03 kB / 0.6415 GB, free: 4.727 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.5983, allocations: 94.52 kB / 0.6416 GB, free: 4.625 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000863/0.5992, allocations: 142.9 kB / 0.6418 GB, free: 4.484 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000881/0.6, allocations: 0.5002 MB / 0.6423 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.6002, allocations: 104.3 kB / 0.6424 GB, free: 3.828 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.6003, allocations: 51.89 kB / 0.6424 GB, free: 3.777 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.6018, allocations: 0.8175 MB / 0.6432 GB, free: 2.887 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.6018, allocations: 0 / 0.6432 GB, free: 2.887 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/0.6019, allocations: 20 kB / 0.6432 GB, free: 2.867 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.306e-05/0.602, allocations: 44.91 kB / 0.6433 GB, free: 2.824 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.6031, allocations: 0.6243 MB / 0.6439 GB, free: 2.199 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.00474/0.6078, allocations: 3.965 MB / 0.6478 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.6085, allocations: 359.6 kB / 0.6481 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.6088, allocations: 165.3 kB / 0.6483 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.6089, allocations: 93.38 kB / 0.6483 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.8e-05/0.609, allocations: 42.84 kB / 0.6484 GB, free: 13.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 3.136e-06/0.609, allocations: 0 / 0.6484 GB, free: 13.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005821/0.6148, allocations: 1.667 MB / 0.65 GB, free: 11.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.6149, allocations: 136.5 kB / 0.6501 GB, free: 11.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008309/0.6158, allocations: 0.6133 MB / 0.6507 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.6159, allocations: 29.7 kB / 0.6508 GB, free: 10.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.6162, allocations: 374.8 kB / 0.6511 GB, free: 10.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.6163, allocations: 149.9 kB / 0.6513 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.6166, allocations: 158.6 kB / 0.6514 GB, free: 10.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6167, allocations: 374.8 kB / 0.6518 GB, free: 9.684 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.6171, allocations: 197.9 kB / 0.652 GB, free: 9.488 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.6177, allocations: 0.5125 MB / 0.6525 GB, free: 8.828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009601/0.6186, allocations: 0.7563 MB / 0.6532 GB, free: 7.934 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.6187, allocations: 4 kB / 0.6532 GB, free: 7.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00142/0.6201, allocations: 0.8838 MB / 0.6541 GB, free: 7.035 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.6201, allocations: 8 kB / 0.6541 GB, free: 7.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.6201, allocations: 15.98 kB / 0.6541 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.6216, allocations: 307.4 kB / 0.6544 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.622, allocations: 131.7 kB / 0.6545 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.6232, allocations: 0.9231 MB / 0.6554 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/0.6238, allocations: 51.94 kB / 0.6555 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.779e-05/0.6238, allocations: 63.98 kB / 0.6555 GB, free: 5.52 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003741/0.6242, allocations: 246 kB / 0.6558 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.6244, allocations: 67.19 kB / 0.6558 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.6262, allocations: 0.8719 MB / 0.6567 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.6262, allocations: 4 kB / 0.6567 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.6262, allocations: 4.625 kB / 0.6567 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.6262, allocations: 3.984 kB / 0.6567 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.6284, allocations: 1.457 MB / 0.6581 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6284, allocations: 0 / 0.6581 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.6295, allocations: 215.8 kB / 0.6583 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.813e-05/0.6296, allocations: 24.84 kB / 0.6583 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/0.6296, allocations: 19.98 kB / 0.6584 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.6317, allocations: 2.877 MB / 0.6612 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6317, allocations: 4.031 kB / 0.6612 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.6331, allocations: 0.8208 MB / 0.662 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/0.6335, allocations: 184.2 kB / 0.6622 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.6336, allocations: 15.98 kB / 0.6622 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.634, allocations: 28.05 kB / 0.6622 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.6341, allocations: 43.83 kB / 0.6622 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.977e-05/0.6342, allocations: 47.92 kB / 0.6623 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005679/0.6348, allocations: 447 kB / 0.6627 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6348, allocations: 0 / 0.6627 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009397/0.6357, allocations: 251.9 kB / 0.6629 GB, free: 13.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.00216/0.6379, allocations: 1.559 MB / 0.6645 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.6393, allocations: 0.5975 MB / 0.6651 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6393, allocations: 0 / 0.6651 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.6404, allocations: 415 kB / 0.6655 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.6422, allocations: 377.6 kB / 0.6658 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009635/0.6518, allocations: 6.741 MB / 0.6724 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.6524, allocations: 0.9261 MB / 0.6733 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001413/0.6538, allocations: 470.3 kB / 0.6737 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005818/0.6544, allocations: 283.3 kB / 0.674 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.6545, allocations: 0 / 0.674 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05086/0.7053, allocations: 23.97 MB / 0.6974 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/0.7056, allocations: 299.8 kB / 0.6977 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.521/3.226, allocations: 7.938 kB / 0.6977 GB, free: 9.641 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches