Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",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.0009475/0.0009476, allocations: 92.47 kB / 17.35 MB, free: 6.027 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.001195/0.001195, allocations: 178.5 kB / 18.26 MB, free: 5.387 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.306/1.306, allocations: 223.3 MB / 242.3 MB, free: 76 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.1911/0.1911, allocations: 44.25 MB / 337.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003217, allocations: 12 kB / 410.5 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1215, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.46/0.5815, allocations: 187.2 MB / 0.6441 GB, free: 7.23 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.5923, allocations: 7.547 MB / 0.6514 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.5937, allocations: 27.81 kB / 0.6515 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.5952, allocations: 398 kB / 0.6519 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006434/0.6016, allocations: 2.068 MB / 0.6539 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0057/0.6074, allocations: 2.047 MB / 0.6559 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004451/0.6118, allocations: 3.191 MB / 0.659 GB, free: 7.922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.6128, allocations: 0.5204 MB / 0.6595 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/0.6173, allocations: 1.612 MB / 0.6611 GB, free: 5.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.6188, allocations: 0.8839 MB / 0.6619 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.6189, allocations: 44 kB / 0.662 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00989/0.6288, allocations: 5.498 MB / 0.6673 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007562/0.6296, allocations: 382.9 kB / 0.6677 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008185/0.6304, allocations: 0.515 MB / 0.6682 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007642/0.6381, allocations: 3.854 MB / 0.672 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6381, allocations: 0 / 0.672 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6381, allocations: 0 / 0.672 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.6381, allocations: 0 / 0.672 GB, free: 10.57 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003677/0.6418, allocations: 1.524 MB / 0.6735 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.6419, allocations: 11.97 kB / 0.6735 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001774/0.642, allocations: 134.5 kB / 0.6736 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000352/0.6424, allocations: 114.8 kB / 0.6737 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000862/0.6433, allocations: 0.5781 MB / 0.6743 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.6434, allocations: 117.4 kB / 0.6744 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.6435, allocations: 72 kB / 0.6745 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.6453, allocations: 1.17 MB / 0.6756 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.6453, allocations: 0 / 0.6756 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-05/0.6454, allocations: 35.98 kB / 0.6756 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.859e-05/0.6455, allocations: 69.83 kB / 0.6757 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.6474, allocations: 1.159 MB / 0.6768 GB, free: 5.43 MB / 0.4981 GB 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.006439/0.6538, allocations: 4.982 MB / 0.6817 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.6555, allocations: 0.8263 MB / 0.6825 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006153/0.6561, allocations: 426.3 kB / 0.6829 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/0.6575, allocations: 1.622 MB / 0.6845 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.6576, allocations: 51.12 kB / 0.6845 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 2.775e-06/0.6576, allocations: 0 / 0.6845 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.01357/0.6712, allocations: 4.145 MB / 0.6886 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.6713, allocations: 111.5 kB / 0.6887 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000842/0.6721, allocations: 0.6602 MB / 0.6893 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.6722, allocations: 41.7 kB / 0.6894 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.6725, allocations: 383.5 kB / 0.6898 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.6728, allocations: 287.9 kB / 0.69 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.6729, allocations: 89.67 kB / 0.6901 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.6731, allocations: 386.8 kB / 0.6905 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009612/0.674, allocations: 0.4899 MB / 0.691 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.6752, allocations: 0.7601 MB / 0.6917 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.6774, allocations: 1.293 MB / 0.693 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.6774, allocations: 7.938 kB / 0.693 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00338/0.6808, allocations: 1.696 MB / 0.6946 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.6808, allocations: 8 kB / 0.6946 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.6809, allocations: 8 kB / 0.6946 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007534/0.6884, allocations: 1.379 MB / 0.696 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000715/0.6891, allocations: 151.7 kB / 0.6961 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.692, allocations: 1.549 MB / 0.6976 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.6932, allocations: 95.83 kB / 0.6977 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/0.6934, allocations: 59.97 kB / 0.6978 GB, free: 14.86 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.000643/0.694, allocations: 290 kB / 0.6981 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/0.6943, allocations: 83.06 kB / 0.6981 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003536/0.6979, allocations: 1.696 MB / 0.6998 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.6979, allocations: 12 kB / 0.6998 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.6979, allocations: 3.938 kB / 0.6998 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.6979, allocations: 3.984 kB / 0.6998 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004796/0.7027, allocations: 2.652 MB / 0.7024 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.7027, allocations: 0 / 0.7024 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.704, allocations: 255.7 kB / 0.7027 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/0.706, allocations: 404.5 kB / 0.703 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.335e-05/0.7061, allocations: 31.98 kB / 0.7031 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/0.7088, allocations: 2.276 MB / 0.7053 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.7088, allocations: 0.8594 kB / 0.7053 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003864/0.7126, allocations: 2.047 MB / 0.7073 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006447/0.7133, allocations: 299.8 kB / 0.7076 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.7135, allocations: 27.98 kB / 0.7076 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.7146, allocations: 79.84 kB / 0.7077 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.7147, allocations: 52.92 kB / 0.7077 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.7149, allocations: 55.95 kB / 0.7078 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007147/0.7156, allocations: 0.4912 MB / 0.7083 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7156, allocations: 0 / 0.7083 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002157/0.7178, allocations: 0.6714 MB / 0.7089 GB, free: 3.133 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2344/0.9522, allocations: 3.286 MB / 0.7121 GB, free: 203.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003285/0.9555, allocations: 1.249 MB / 0.7134 GB, free: 203.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.9556, allocations: 1.375 kB / 0.7134 GB, free: 203.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00184/0.9574, allocations: 0.7159 MB / 0.7141 GB, free: 203.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/0.9604, allocations: 0.5022 MB / 0.7145 GB, free: 203.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/0.9782, allocations: 10.49 MB / 0.7248 GB, free: 198.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.9789, allocations: 1.047 MB / 0.7258 GB, free: 198.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001372/0.9803, allocations: 370 kB / 0.7262 GB, free: 198.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/0.9807, allocations: 331.2 kB / 0.7265 GB, free: 197.9 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.9807, allocations: 4 kB / 0.7265 GB, free: 197.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06065/1.041, allocations: 41.82 MB / 0.7673 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/1.042, allocations: 296.8 kB / 0.7676 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.085/4.126, allocations: 0 / 0.7676 GB, free: 164.1 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches