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.0008315/0.0008315, allocations: 95.94 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.0009007/0.0009004, allocations: 177.6 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.357/1.357, allocations: 223.3 MB / 242.3 MB, free: 14.52 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.1934/0.1934, allocations: 44.24 MB / 337.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003332, allocations: 8.188 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1281, allocations: 61.93 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5576/0.6857, allocations: 187.2 MB / 0.644 GB, free: 7.453 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.6995, allocations: 7.544 MB / 0.6513 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.701, allocations: 23.75 kB / 0.6514 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.7026, allocations: 394.1 kB / 0.6517 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007016/0.7097, allocations: 2.077 MB / 0.6538 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006078/0.7158, allocations: 2.041 MB / 0.6558 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004236/0.72, allocations: 3.206 MB / 0.6589 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.7214, allocations: 0.5087 MB / 0.6594 GB, free: 7.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004568/0.7259, allocations: 1.612 MB / 0.661 GB, free: 6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.7277, allocations: 0.8916 MB / 0.6618 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002331/0.728, allocations: 44 kB / 0.6619 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0106/0.7386, allocations: 5.498 MB / 0.6672 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008318/0.7395, allocations: 386.9 kB / 0.6676 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009301/0.7405, allocations: 0.5111 MB / 0.6681 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009087/0.7496, allocations: 3.842 MB / 0.6719 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7496, allocations: 0 / 0.6719 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7496, allocations: 8 kB / 0.6719 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.219e-05/0.7496, allocations: 0 / 0.6719 GB, free: 10.8 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.00431/0.7539, allocations: 1.536 MB / 0.6734 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.754, allocations: 11.97 kB / 0.6734 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000481/0.7545, allocations: 110.9 kB / 0.6735 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009587/0.7555, allocations: 0.5819 MB / 0.6741 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.7556, allocations: 125.4 kB / 0.6742 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.7558, allocations: 64 kB / 0.6742 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.7577, allocations: 1.166 MB / 0.6754 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.7577, allocations: 4 kB / 0.6754 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.7578, allocations: 31.98 kB / 0.6754 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-05/0.7579, allocations: 69.91 kB / 0.6755 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.7598, allocations: 1.159 MB / 0.6766 GB, free: 5.789 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.007279/0.7671, allocations: 4.97 MB / 0.6815 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.769, allocations: 0.838 MB / 0.6823 GB, free: 15.64 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007427/0.7698, allocations: 422.3 kB / 0.6827 GB, free: 15.22 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/0.7713, allocations: 1.63 MB / 0.6843 GB, free: 13.24 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.7714, allocations: 47.12 kB / 0.6843 GB, free: 13.19 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=70): time 2.685e-06/0.7714, allocations: 0 / 0.6843 GB, free: 13.19 MB / 0.5138 GB Notification: Performance of matching and sorting (n=82): time 0.014/0.7854, allocations: 4.133 MB / 0.6884 GB, free: 8.992 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/0.7855, allocations: 115.5 kB / 0.6885 GB, free: 8.852 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009146/0.7864, allocations: 0.668 MB / 0.6891 GB, free: 8.172 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 9.713e-05/0.7866, allocations: 37.7 kB / 0.6892 GB, free: 8.129 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.7869, allocations: 387.5 kB / 0.6895 GB, free: 7.746 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.7871, allocations: 287.9 kB / 0.6898 GB, free: 7.461 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.7873, allocations: 85.67 kB / 0.6899 GB, free: 7.371 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.7875, allocations: 390.7 kB / 0.6903 GB, free: 6.98 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.7885, allocations: 497.7 kB / 0.6907 GB, free: 6.496 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.7897, allocations: 0.7601 MB / 0.6915 GB, free: 5.621 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/0.7921, allocations: 1.293 MB / 0.6927 GB, free: 4.227 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.7921, allocations: 0 / 0.6927 GB, free: 4.227 MB / 0.5138 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003643/0.7957, allocations: 1.704 MB / 0.6944 GB, free: 2.508 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.7958, allocations: 8 kB / 0.6944 GB, free: 2.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.7958, allocations: 8 kB / 0.6944 GB, free: 2.492 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008031/0.8038, allocations: 1.371 MB / 0.6958 GB, free: 1.117 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007371/0.8046, allocations: 159.7 kB / 0.6959 GB, free: 0.9609 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003007/0.8076, allocations: 1.545 MB / 0.6974 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.8087, allocations: 91.78 kB / 0.6975 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.8088, allocations: 55.98 kB / 0.6976 GB, free: 15.24 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.0005268/0.8094, allocations: 294 kB / 0.6978 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.8095, allocations: 83.06 kB / 0.6979 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003493/0.813, allocations: 1.701 MB / 0.6996 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.8131, allocations: 8 kB / 0.6996 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.8131, allocations: 7.875 kB / 0.6996 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.8131, allocations: 3.984 kB / 0.6996 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004707/0.8178, allocations: 2.644 MB / 0.7022 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.8179, allocations: 4 kB / 0.7022 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.8192, allocations: 263.9 kB / 0.7024 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001996/0.8212, allocations: 396.2 kB / 0.7028 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.8213, allocations: 35.97 kB / 0.7028 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.824, allocations: 2.269 MB / 0.7051 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.824, allocations: 4.031 kB / 0.7051 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/0.8282, allocations: 2.055 MB / 0.7071 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/0.8289, allocations: 303.8 kB / 0.7074 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.829, allocations: 20 kB / 0.7074 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009354/0.83, allocations: 79.84 kB / 0.7075 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.8301, allocations: 64.84 kB / 0.7075 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.8303, allocations: 47.97 kB / 0.7076 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007506/0.831, allocations: 0.499 MB / 0.708 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.41e-07/0.831, allocations: 0 / 0.708 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002475/0.8335, allocations: 0.6675 MB / 0.7087 GB, free: 3.488 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.002365/0.8359, allocations: 0.8046 MB / 0.7095 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002983/0.8389, allocations: 1.238 MB / 0.7107 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.8389, allocations: 8.125 kB / 0.7107 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/0.8408, allocations: 0.7125 MB / 0.7114 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/0.8438, allocations: 0.4899 MB / 0.7119 GB, free: 252 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2319/1.076, allocations: 2.594 MB / 0.7144 GB, free: 202.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/1.076, allocations: 1.044 MB / 0.7154 GB, free: 202.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001494/1.078, allocations: 375.1 kB / 0.7158 GB, free: 202.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/1.078, allocations: 91.91 kB / 0.7159 GB, free: 202.1 MB / 0.5294 GB Notification: Performance of SimCode: time 2.845e-06/1.078, allocations: 0 / 0.7159 GB, free: 202.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.04784/1.126, allocations: 33.21 MB / 0.7483 GB, free: 183.8 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/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