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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009475/0.0009475, allocations: 90.36 kB / 18 MB, free: 5.734 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.001168/0.001168, allocations: 180.7 kB / 18.91 MB, free: 4.867 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.431/1.431, allocations: 223.3 MB / 242.9 MB, free: 12 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.1962/0.1962, allocations: 44.24 MB / 338.3 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003362, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1145, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4506/0.5652, allocations: 187.2 MB / 0.6446 GB, free: 7.293 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.5764, allocations: 7.54 MB / 0.652 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.5776, allocations: 27.75 kB / 0.652 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.579, allocations: 398.1 kB / 0.6524 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006398/0.5854, allocations: 2.067 MB / 0.6544 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005969/0.5914, allocations: 2.047 MB / 0.6564 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003964/0.5954, allocations: 3.206 MB / 0.6595 GB, free: 7.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.5965, allocations: 0.5088 MB / 0.66 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004059/0.6006, allocations: 1.616 MB / 0.6616 GB, free: 5.836 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.6023, allocations: 0.8916 MB / 0.6625 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002957/0.6026, allocations: 44 kB / 0.6625 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/0.6131, allocations: 5.498 MB / 0.6679 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007458/0.6139, allocations: 378.9 kB / 0.6683 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.6151, allocations: 0.5073 MB / 0.6687 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005093/0.6202, allocations: 2.666 MB / 0.6714 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.6202, allocations: 4 kB / 0.6714 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6202, allocations: 7.938 kB / 0.6714 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.524e-05/0.6203, allocations: 0 / 0.6714 GB, free: 11.82 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.004478/0.6248, allocations: 1.532 MB / 0.6729 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.6248, allocations: 11.97 kB / 0.6729 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005816/0.6254, allocations: 110.9 kB / 0.673 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.6266, allocations: 0.5819 MB / 0.6735 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.6268, allocations: 121.4 kB / 0.6737 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.6269, allocations: 67.98 kB / 0.6737 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.629, allocations: 1.17 MB / 0.6749 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.6291, allocations: 0 / 0.6749 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.6292, allocations: 28 kB / 0.6749 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.6293, allocations: 73.84 kB / 0.675 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.6315, allocations: 1.163 MB / 0.6761 GB, free: 6.812 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.007418/0.6389, allocations: 4.966 MB / 0.6809 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.6407, allocations: 0.8418 MB / 0.6818 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007052/0.6414, allocations: 426.3 kB / 0.6822 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/0.6428, allocations: 1.63 MB / 0.6838 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.6429, allocations: 47.12 kB / 0.6838 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 2.354e-06/0.6429, allocations: 0 / 0.6838 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.01439/0.6573, allocations: 4.133 MB / 0.6879 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/0.6574, allocations: 111.5 kB / 0.688 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009182/0.6583, allocations: 0.6719 MB / 0.6886 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.6584, allocations: 37.7 kB / 0.6886 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.6588, allocations: 387.5 kB / 0.689 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.6592, allocations: 291.9 kB / 0.6893 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.6593, allocations: 85.67 kB / 0.6894 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.6595, allocations: 390.7 kB / 0.6898 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.6606, allocations: 493.7 kB / 0.6902 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.6619, allocations: 0.764 MB / 0.691 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/0.6642, allocations: 1.289 MB / 0.6922 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.6642, allocations: 0 / 0.6922 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003647/0.6679, allocations: 1.708 MB / 0.6939 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.6679, allocations: 8 kB / 0.6939 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.668, allocations: 8 kB / 0.6939 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007808/0.6758, allocations: 1.374 MB / 0.6953 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/0.6764, allocations: 151.7 kB / 0.6954 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003033/0.6795, allocations: 1.549 MB / 0.6969 GB, free: 412 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.6805, allocations: 91.88 kB / 0.697 GB, free: 320 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.6807, allocations: 55.92 kB / 0.6971 GB, free: 264 kB / 0.5137 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.0005825/0.6813, allocations: 298.1 kB / 0.6973 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.6815, allocations: 87.06 kB / 0.6974 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003544/0.6851, allocations: 1.69 MB / 0.6991 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.6851, allocations: 8 kB / 0.6991 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.6851, allocations: 7.938 kB / 0.6991 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.6851, allocations: 3.984 kB / 0.6991 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004659/0.6898, allocations: 2.644 MB / 0.7017 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.6898, allocations: 4 kB / 0.7017 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.6911, allocations: 267.8 kB / 0.7019 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/0.6932, allocations: 396.2 kB / 0.7023 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.274e-05/0.6933, allocations: 43.91 kB / 0.7023 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/0.6959, allocations: 2.261 MB / 0.7046 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6959, allocations: 4.031 kB / 0.7046 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00398/0.6999, allocations: 2.047 MB / 0.7066 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006026/0.7005, allocations: 303.8 kB / 0.7068 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.7007, allocations: 20 kB / 0.7069 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000983/0.7017, allocations: 79.84 kB / 0.7069 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.7019, allocations: 60.84 kB / 0.707 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.702, allocations: 47.97 kB / 0.707 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006617/0.7027, allocations: 0.5029 MB / 0.7075 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7027, allocations: 0 / 0.7075 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002011/0.7047, allocations: 0.6714 MB / 0.7082 GB, free: 4.508 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.002345/0.707, allocations: 0.7878 MB / 0.709 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002795/0.7098, allocations: 1.241 MB / 0.7102 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/0.7099, allocations: 8.312 kB / 0.7102 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/0.7117, allocations: 0.7009 MB / 0.7109 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/0.7146, allocations: 0.5081 MB / 0.7114 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1991/0.9137, allocations: 2.652 MB / 0.714 GB, free: 202.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008726/0.9147, allocations: 1.04 MB / 0.715 GB, free: 201.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.9152, allocations: 101.6 kB / 0.7151 GB, free: 201.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.693e-06/0.9152, allocations: 0 / 0.7151 GB, free: 201.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.04234/0.9576, allocations: 28.16 MB / 0.7426 GB, free: 189.4 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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