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.0007604/0.0007604, allocations: 98.83 kB / 17.35 MB, free: 6.367 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.0008102/0.0008104, allocations: 172.3 kB / 18.25 MB, free: 5.527 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.295/1.295, allocations: 223.3 MB / 242.3 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2169/0.2169, allocations: 44.24 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002986, allocations: 8.781 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1145, allocations: 61.91 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4755/0.59, allocations: 170.3 MB / 0.6276 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007948/0.598, allocations: 5.424 MB / 0.6329 GB, free: 2.848 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.5991, allocations: 27.75 kB / 0.6329 GB, free: 2.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.6002, allocations: 270.5 kB / 0.6332 GB, free: 2.555 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.6039, allocations: 1.118 MB / 0.6343 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.6068, allocations: 0.8665 MB / 0.6351 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003778/0.6106, allocations: 2.71 MB / 0.6378 GB, free: 13.86 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009551/0.6115, allocations: 401.3 kB / 0.6381 GB, free: 13.47 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002692/0.6142, allocations: 0.9535 MB / 0.6391 GB, free: 12.51 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.6158, allocations: 0.6812 MB / 0.6397 GB, free: 11.83 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002764/0.6161, allocations: 36 kB / 0.6398 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.6179, allocations: 0.5265 MB / 0.6403 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004838/0.6184, allocations: 243.2 kB / 0.6405 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007047/0.6191, allocations: 395.9 kB / 0.6409 GB, free: 10.63 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.6215, allocations: 1.262 MB / 0.6421 GB, free: 9.367 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6215, allocations: 0 / 0.6421 GB, free: 9.367 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6215, allocations: 0 / 0.6421 GB, free: 9.367 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.199e-05/0.6215, allocations: 0 / 0.6421 GB, free: 9.367 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.002619/0.6242, allocations: 0.9504 MB / 0.6431 GB, free: 8.367 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.6242, allocations: 11.97 kB / 0.6431 GB, free: 8.355 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002588/0.6245, allocations: 94.52 kB / 0.6432 GB, free: 8.254 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009362/0.6254, allocations: 143.1 kB / 0.6433 GB, free: 8.113 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.6265, allocations: 0.5078 MB / 0.6438 GB, free: 7.562 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.6266, allocations: 108.3 kB / 0.6439 GB, free: 7.445 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.6268, allocations: 48 kB / 0.6439 GB, free: 7.398 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.6283, allocations: 0.8136 MB / 0.6447 GB, free: 6.512 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.6284, allocations: 4 kB / 0.6447 GB, free: 6.508 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.831e-05/0.6285, allocations: 27.98 kB / 0.6448 GB, free: 6.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.636e-05/0.6285, allocations: 40.92 kB / 0.6448 GB, free: 6.438 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.6298, allocations: 0.6243 MB / 0.6454 GB, free: 5.816 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.004963/0.6347, allocations: 3.962 MB / 0.6493 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/0.6353, allocations: 356.7 kB / 0.6496 GB, free: 1.242 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.6356, allocations: 173.3 kB / 0.6498 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.6358, allocations: 89.39 kB / 0.6499 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.6358, allocations: 38.83 kB / 0.6499 GB, free: 0.918 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.6358, allocations: 0 / 0.6499 GB, free: 0.918 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005802/0.6416, allocations: 1.672 MB / 0.6515 GB, free: 15.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/0.6417, allocations: 136.5 kB / 0.6517 GB, free: 15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007756/0.6425, allocations: 0.6132 MB / 0.6523 GB, free: 14.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.563e-05/0.6426, allocations: 37.7 kB / 0.6523 GB, free: 14.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/0.6429, allocations: 362.8 kB / 0.6526 GB, free: 13.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.643, allocations: 146 kB / 0.6528 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.6431, allocations: 61.69 kB / 0.6528 GB, free: 13.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.6433, allocations: 370.8 kB / 0.6532 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.6437, allocations: 209.9 kB / 0.6534 GB, free: 13.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.6443, allocations: 0.5164 MB / 0.6539 GB, free: 12.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.6453, allocations: 0.7523 MB / 0.6546 GB, free: 11.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.6453, allocations: 0 / 0.6546 GB, free: 11.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001524/0.6468, allocations: 0.884 MB / 0.6555 GB, free: 10.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.6469, allocations: 16.06 kB / 0.6555 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.6469, allocations: 8 kB / 0.6555 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.6483, allocations: 316.6 kB / 0.6558 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.6487, allocations: 131.7 kB / 0.656 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.6498, allocations: 0.9294 MB / 0.6569 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/0.6504, allocations: 43.88 kB / 0.6569 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.074e-05/0.6505, allocations: 64 kB / 0.657 GB, free: 9.227 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.0003475/0.6509, allocations: 264.1 kB / 0.6572 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.651, allocations: 67.19 kB / 0.6573 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.6527, allocations: 0.858 MB / 0.6581 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6528, allocations: 7.938 kB / 0.6581 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.6528, allocations: 4 kB / 0.6581 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.6528, allocations: 3.984 kB / 0.6581 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.6549, allocations: 1.458 MB / 0.6596 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6549, allocations: 0 / 0.6596 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.6559, allocations: 211.9 kB / 0.6598 GB, free: 6.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-05/0.656, allocations: 24.84 kB / 0.6598 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/0.6561, allocations: 23.98 kB / 0.6598 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.6581, allocations: 2.684 MB / 0.6624 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6581, allocations: 0 / 0.6624 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.6593, allocations: 0.8128 MB / 0.6632 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.6596, allocations: 196.2 kB / 0.6634 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.6597, allocations: 12 kB / 0.6634 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.6602, allocations: 31.92 kB / 0.6634 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.6603, allocations: 43.95 kB / 0.6635 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/0.6603, allocations: 47.97 kB / 0.6635 GB, free: 2.012 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005768/0.6609, allocations: 439 kB / 0.664 GB, free: 1.586 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6609, allocations: 0 / 0.664 GB, free: 1.586 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009861/0.6619, allocations: 252 kB / 0.6642 GB, free: 1.34 MB / 494.1 MB 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.002291/0.6642, allocations: 1.571 MB / 0.6657 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.6654, allocations: 0.5553 MB / 0.6663 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6654, allocations: 0 / 0.6663 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009623/0.6663, allocations: 410.4 kB / 0.6667 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.6682, allocations: 339.8 kB / 0.667 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008971/0.6771, allocations: 6.84 MB / 0.6737 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.6777, allocations: 0.9339 MB / 0.6746 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001262/0.679, allocations: 458.4 kB / 0.675 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005447/0.6795, allocations: 291.3 kB / 0.6753 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.6795, allocations: 0 / 0.6753 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0435/0.723, allocations: 23.19 MB / 0.6979 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/0.7233, allocations: 306.2 kB / 0.6982 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/3.093, allocations: 8.062 kB / 0.6982 GB, free: 14.28 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