Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7273/0.7273, allocations: 94.58 MB / 399.1 MB, free: 15.75 MB / 334.1 MB " [Timeout remaining time 179] 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=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 88.16 kB / 0.5448 GB, free: 12.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4488, allocations: 71.85 MB / 0.615 GB, free: 4.082 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.2189/0.6677, allocations: 165.4 MB / 0.7765 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.6866, allocations: 13.08 MB / 0.7893 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.6876, allocations: 35.75 kB / 0.7893 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002011/0.6896, allocations: 0.5823 MB / 0.7899 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.6928, allocations: 0.9009 MB / 0.7908 GB, free: 400 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.6956, allocations: 0.8174 MB / 0.7916 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002537/0.6981, allocations: 1.357 MB / 0.7929 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000683/0.6988, allocations: 211 kB / 0.7931 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.7003, allocations: 0.5679 MB / 0.7936 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.7017, allocations: 0.677 MB / 0.7943 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003216/0.702, allocations: 76 kB / 0.7944 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003674/0.7057, allocations: 1.408 MB / 0.7957 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003612/0.7061, allocations: 191.1 kB / 0.7959 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.7072, allocations: 0.5205 MB / 0.7964 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003901/0.7111, allocations: 1.578 MB / 0.798 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.7111, allocations: 7.984 kB / 0.798 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7111, allocations: 0 / 0.798 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.371e-05/0.7111, allocations: 0 / 0.798 GB, free: 8.953 MB / 0.6231 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.003455/0.7146, allocations: 1.474 MB / 0.7994 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.7146, allocations: 8.031 kB / 0.7994 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003938/0.715, allocations: 132.1 kB / 0.7996 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.7166, allocations: 0.7882 MB / 0.8003 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.7166, allocations: 54 kB / 0.8004 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.7167, allocations: 75.95 kB / 0.8004 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.7182, allocations: 0.7314 MB / 0.8012 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.7182, allocations: 0 / 0.8012 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.734e-05/0.7183, allocations: 24 kB / 0.8012 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.7183, allocations: 16 kB / 0.8012 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.7195, allocations: 0.6363 MB / 0.8018 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004382/0.7239, allocations: 3.117 MB / 0.8049 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.7253, allocations: 0.5284 MB / 0.8054 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004384/0.7257, allocations: 226.4 kB / 0.8056 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003117/0.7288, allocations: 2.588 MB / 0.8081 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.7289, allocations: 47.06 kB / 0.8082 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=55): time 2.144e-06/0.7289, allocations: 3.938 kB / 0.8082 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=56): time 0.004046/0.7329, allocations: 1.791 MB / 0.8099 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.7329, allocations: 55.97 kB / 0.81 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.734, allocations: 0.6967 MB / 0.8107 GB, free: 11 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.734, allocations: 37.7 kB / 0.8107 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/0.7344, allocations: 444.9 kB / 0.8111 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.7346, allocations: 202.2 kB / 0.8113 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.7348, allocations: 102.2 kB / 0.8114 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.7349, allocations: 322 kB / 0.8117 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.7353, allocations: 161 kB / 0.8119 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.7358, allocations: 235.2 kB / 0.8121 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008219/0.7366, allocations: 423.8 kB / 0.8125 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.7366, allocations: 0 / 0.8125 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001414/0.738, allocations: 0.6474 MB / 0.8131 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.738, allocations: 11.94 kB / 0.8131 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.738, allocations: 4.156 kB / 0.8131 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/0.7385, allocations: 108.7 kB / 0.8132 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.7389, allocations: 107.9 kB / 0.8134 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.7415, allocations: 2.047 MB / 0.8154 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/0.7419, allocations: 16.03 kB / 0.8154 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.742, allocations: 27.98 kB / 0.8154 GB, free: 5.945 MB / 0.6387 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.0003855/0.7424, allocations: 213.7 kB / 0.8156 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.7426, allocations: 95.33 kB / 0.8157 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.7445, allocations: 0.8644 MB / 0.8165 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.7445, allocations: 8 kB / 0.8165 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7445, allocations: 0 / 0.8165 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.7445, allocations: 3.938 kB / 0.8165 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.7473, allocations: 1.535 MB / 0.818 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.7473, allocations: 0 / 0.818 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/0.7477, allocations: 91.98 kB / 0.8181 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004137/0.7481, allocations: 116.7 kB / 0.8182 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/0.7482, allocations: 23.98 kB / 0.8183 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/0.7509, allocations: 2.046 MB / 0.8203 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.7509, allocations: 4.141 kB / 0.8203 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.7529, allocations: 0.9806 MB / 0.8212 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.7531, allocations: 156.5 kB / 0.8214 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.7532, allocations: 28.05 kB / 0.8214 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.7536, allocations: 12 kB / 0.8214 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.7537, allocations: 48.44 kB / 0.8215 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.7537, allocations: 19.98 kB / 0.8215 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007759/0.7545, allocations: 0.5107 MB / 0.822 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7545, allocations: 0 / 0.822 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00102/0.7555, allocations: 335.4 kB / 0.8223 GB, free: 14.58 MB / 0.6544 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.0009161/0.7565, allocations: 482.9 kB / 0.8228 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.7579, allocations: 0.5882 MB / 0.8233 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.7579, allocations: 0 / 0.8233 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000865/0.7588, allocations: 421.6 kB / 0.8237 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.7602, allocations: 264 kB / 0.824 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.7633, allocations: 1.616 MB / 0.8256 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007992/0.7641, allocations: 1.005 MB / 0.8265 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005325/0.7647, allocations: 145.9 kB / 0.8267 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.7649, allocations: 75.41 kB / 0.8268 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of SimCode: time 1.052e-06/0.7649, allocations: 0 / 0.8268 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of Templates: time 0.03434/0.7992, allocations: 16.93 MB / 0.8433 GB, free: 9.082 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.702137095853686]