Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001895/0.001895, allocations: 194.1 kB / 16.13 MB, free: 6.656 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7439/0.7439, allocations: 91.19 MB / 381.2 MB, free: 9.594 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 72.95 kB / 459.6 MB, free: 23.47 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1514, allocations: 67.7 MB / 0.515 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.4987/0.6502, allocations: 163 MB / 0.6742 GB, free: 7.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.6664, allocations: 13.08 MB / 0.6869 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001963/0.6685, allocations: 44.84 kB / 0.687 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.6708, allocations: 0.5114 MB / 0.6875 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003959/0.6748, allocations: 0.7917 MB / 0.6883 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.6779, allocations: 0.7043 MB / 0.6889 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003187/0.6811, allocations: 1.502 MB / 0.6904 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008668/0.682, allocations: 287.5 kB / 0.6907 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.6837, allocations: 0.5111 MB / 0.6912 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.6853, allocations: 0.6631 MB / 0.6918 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000423/0.6858, allocations: 52.91 kB / 0.6919 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003988/0.6898, allocations: 1.37 MB / 0.6932 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003345/0.6901, allocations: 175.2 kB / 0.6934 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.6912, allocations: 0.4908 MB / 0.6939 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003615/0.6949, allocations: 1.471 MB / 0.6953 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6949, allocations: 0 / 0.6953 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6949, allocations: 0 / 0.6953 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.182e-05/0.695, allocations: 0 / 0.6953 GB, free: 7.465 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.00331/0.6983, allocations: 1.421 MB / 0.6967 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.6983, allocations: 12.03 kB / 0.6967 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.6986, allocations: 115.5 kB / 0.6968 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.7, allocations: 0.7135 MB / 0.6975 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.7, allocations: 58 kB / 0.6976 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.7001, allocations: 71.89 kB / 0.6976 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.7016, allocations: 0.7314 MB / 0.6983 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.7017, allocations: 4 kB / 0.6983 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.277e-05/0.7017, allocations: 24 kB / 0.6984 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.7018, allocations: 16 kB / 0.6984 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.703, allocations: 0.6402 MB / 0.699 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004272/0.7072, allocations: 3.112 MB / 0.702 GB, free: 128 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.7086, allocations: 0.5714 MB / 0.7026 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004774/0.7091, allocations: 256 kB / 0.7029 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002587/0.7117, allocations: 2.58 MB / 0.7054 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.7117, allocations: 39.62 kB / 0.7054 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=55): time 2.705e-06/0.7117, allocations: 3.938 kB / 0.7054 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56): time 0.003995/0.7157, allocations: 1.785 MB / 0.7072 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.7158, allocations: 59.95 kB / 0.7072 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009017/0.7167, allocations: 0.6849 MB / 0.7079 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.7168, allocations: 33.7 kB / 0.7079 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.7171, allocations: 436.3 kB / 0.7083 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.7172, allocations: 189.2 kB / 0.7085 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.7174, allocations: 94.23 kB / 0.7086 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.7175, allocations: 326 kB / 0.7089 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.7179, allocations: 165 kB / 0.7091 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/0.7183, allocations: 223.2 kB / 0.7093 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007633/0.7191, allocations: 432.5 kB / 0.7097 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7191, allocations: 0 / 0.7097 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001382/0.7205, allocations: 0.6547 MB / 0.7103 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.7205, allocations: 11.94 kB / 0.7103 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.7205, allocations: 0 / 0.7103 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004661/0.721, allocations: 108.9 kB / 0.7104 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.7214, allocations: 99.83 kB / 0.7105 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.7237, allocations: 1.905 MB / 0.7124 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/0.7242, allocations: 39.94 kB / 0.7124 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/0.7243, allocations: 20.11 kB / 0.7125 GB, free: 4.707 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003321/0.7246, allocations: 213.7 kB / 0.7127 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.7248, allocations: 82.97 kB / 0.7127 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.7264, allocations: 0.8719 MB / 0.7136 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.7264, allocations: 8 kB / 0.7136 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.7265, allocations: 4 kB / 0.7136 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.7265, allocations: 7.984 kB / 0.7136 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.7292, allocations: 1.532 MB / 0.7151 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7292, allocations: 0 / 0.7151 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.7296, allocations: 91.88 kB / 0.7152 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004128/0.73, allocations: 116.8 kB / 0.7153 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/0.73, allocations: 23.98 kB / 0.7153 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.7321, allocations: 1.89 MB / 0.7172 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7322, allocations: 12.03 kB / 0.7172 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.7339, allocations: 0.9754 MB / 0.7181 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.7342, allocations: 163.9 kB / 0.7183 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.7343, allocations: 15.94 kB / 0.7183 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.7348, allocations: 36.03 kB / 0.7183 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.7349, allocations: 44.5 kB / 0.7184 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.7349, allocations: 19.98 kB / 0.7184 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006657/0.7356, allocations: 0.5029 MB / 0.7189 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7356, allocations: 3.938 kB / 0.7189 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001103/0.7367, allocations: 327.8 kB / 0.7192 GB, free: 13.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow) * 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 (48): * Single equations (assignments): 47 * 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): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009547/0.7377, allocations: 487.5 kB / 0.7197 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.7391, allocations: 0.6232 MB / 0.7203 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7391, allocations: 0 / 0.7203 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008105/0.7399, allocations: 429.6 kB / 0.7207 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.7413, allocations: 255.9 kB / 0.7209 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.7446, allocations: 1.922 MB / 0.7228 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.7452, allocations: 1.005 MB / 0.7238 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005407/0.7458, allocations: 151.9 kB / 0.7239 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.746, allocations: 75.42 kB / 0.724 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.746, allocations: 0 / 0.724 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of Templates: time 0.02655/0.7726, allocations: 15.95 MB / 0.7396 GB, free: 8.629 MB / 0.545 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches