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.001454/0.001454, allocations: 105.7 kB / 17.32 MB, free: 5.984 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.001635/0.001635, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.355/1.355, allocations: 222.9 MB / 241.9 MB, free: 13.66 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.2187/0.2187, allocations: 44.17 MB / 336.2 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 60.56 kB / 408 MB, free: 27.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1277, allocations: 60.83 MB / 468.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4874/0.6151, allocations: 188.8 MB / 0.6422 GB, free: 4.105 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009975/0.6252, allocations: 7.47 MB / 0.6495 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.6263, allocations: 27.75 kB / 0.6495 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.6276, allocations: 398.1 kB / 0.6499 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006274/0.6339, allocations: 2.164 MB / 0.652 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006636/0.6406, allocations: 2.123 MB / 0.6541 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00317/0.6437, allocations: 2.196 MB / 0.6562 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009727/0.6447, allocations: 0.5945 MB / 0.6568 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004583/0.6493, allocations: 1.764 MB / 0.6585 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.6511, allocations: 0.9191 MB / 0.6594 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.6512, allocations: 99.94 kB / 0.6595 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01081/0.6621, allocations: 5.319 MB / 0.6647 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008413/0.663, allocations: 438.9 kB / 0.6651 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008988/0.6639, allocations: 0.5291 MB / 0.6656 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009595/0.6735, allocations: 3.92 MB / 0.6695 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.6735, allocations: 0 / 0.6695 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6735, allocations: 4 kB / 0.6695 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.6735, allocations: 0 / 0.6695 GB, free: 8.086 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.004094/0.6776, allocations: 1.711 MB / 0.6711 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.6777, allocations: 12.03 kB / 0.6712 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.6779, allocations: 130.5 kB / 0.6713 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000421/0.6783, allocations: 114.8 kB / 0.6714 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000915/0.6792, allocations: 0.5858 MB / 0.672 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.6794, allocations: 121.3 kB / 0.6721 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.6795, allocations: 67.98 kB / 0.6721 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.6813, allocations: 1.165 MB / 0.6733 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.6813, allocations: 3.938 kB / 0.6733 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.6814, allocations: 31.98 kB / 0.6733 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.502e-05/0.6815, allocations: 69.91 kB / 0.6734 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.6832, allocations: 1.159 MB / 0.6745 GB, free: 2.762 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.006351/0.6896, allocations: 4.962 MB / 0.6794 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.6913, allocations: 0.83 MB / 0.6802 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005959/0.6919, allocations: 422 kB / 0.6806 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/0.6933, allocations: 1.626 MB / 0.6822 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.6934, allocations: 47.11 kB / 0.6822 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 2.435e-06/0.6934, allocations: 0 / 0.6822 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.0139/0.7073, allocations: 4.004 MB / 0.6861 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.7074, allocations: 115.4 kB / 0.6862 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009256/0.7083, allocations: 0.6642 MB / 0.6869 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.7085, allocations: 37.7 kB / 0.6869 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.7088, allocations: 391.4 kB / 0.6873 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.7091, allocations: 291.8 kB / 0.6876 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.7094, allocations: 194.5 kB / 0.6877 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.7096, allocations: 390.8 kB / 0.6881 GB, free: 4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009757/0.7106, allocations: 493.7 kB / 0.6886 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.712, allocations: 0.764 MB / 0.6893 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/0.7147, allocations: 1.277 MB / 0.6906 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/0.7147, allocations: 7.938 kB / 0.6906 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004006/0.7187, allocations: 1.676 MB / 0.6922 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.7187, allocations: 8 kB / 0.6922 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.7188, allocations: 8 kB / 0.6922 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007507/0.7263, allocations: 1.316 MB / 0.6935 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/0.727, allocations: 151.7 kB / 0.6937 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.7299, allocations: 1.533 MB / 0.6952 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.7311, allocations: 83.89 kB / 0.6952 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.7313, allocations: 51.98 kB / 0.6953 GB, free: 12.38 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.0007018/0.732, allocations: 306 kB / 0.6956 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.7324, allocations: 79.06 kB / 0.6957 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/0.7361, allocations: 1.671 MB / 0.6973 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/0.7362, allocations: 15.94 kB / 0.6973 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.7362, allocations: 3.938 kB / 0.6973 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.7362, allocations: 7.969 kB / 0.6973 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004962/0.7412, allocations: 2.632 MB / 0.6999 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/0.7412, allocations: 4 kB / 0.6999 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.7425, allocations: 259.9 kB / 0.7001 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.7443, allocations: 372.2 kB / 0.7005 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-05/0.7444, allocations: 35.97 kB / 0.7005 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002712/0.7471, allocations: 2.354 MB / 0.7028 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7472, allocations: 0 / 0.7028 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003978/0.7511, allocations: 2.032 MB / 0.7048 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006568/0.7518, allocations: 291.9 kB / 0.7051 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.7521, allocations: 20 kB / 0.7051 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.7531, allocations: 75.83 kB / 0.7052 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.7533, allocations: 68.8 kB / 0.7053 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.7534, allocations: 51.89 kB / 0.7053 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007539/0.7542, allocations: 0.4951 MB / 0.7058 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7542, allocations: 0 / 0.7058 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002513/0.7567, allocations: 0.6753 MB / 0.7064 GB, free: 0.6289 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.2287/0.9854, allocations: 3.247 MB / 0.7096 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004071/0.9895, allocations: 1.437 MB / 0.711 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.9896, allocations: 2.031 kB / 0.711 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/0.9915, allocations: 0.7149 MB / 0.7117 GB, free: 204 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.9942, allocations: 0.5287 MB / 0.7122 GB, free: 203.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/1.014, allocations: 10.33 MB / 0.7223 GB, free: 198.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007881/1.015, allocations: 1.046 MB / 0.7233 GB, free: 197.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001592/1.016, allocations: 363.8 kB / 0.7237 GB, free: 197.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005146/1.017, allocations: 336.9 kB / 0.724 GB, free: 197.4 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/1.017, allocations: 0 / 0.724 GB, free: 197.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.066/1.083, allocations: 43.2 MB / 0.7662 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/1.083, allocations: 289.6 kB / 0.7665 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.218/4.301, allocations: 4 kB / 0.7665 GB, free: 161.3 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