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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 210.6 kB / 23.01 MB, free: 4.57 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.317/1.317, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.6764/0.6764, allocations: 94.57 MB / 407.8 MB, free: 9.168 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_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_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 93.11 kB / 0.5562 GB, free: 38.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1117, allocations: 73.05 MB / 0.6275 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.4375/0.5492, allocations: 165.5 MB / 0.7891 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01117/0.5604, allocations: 13.09 MB / 0.8019 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.5615, allocations: 60.66 kB / 0.8019 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.563, allocations: 0.5797 MB / 0.8025 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.5651, allocations: 0.9029 MB / 0.8034 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.567, allocations: 0.8331 MB / 0.8042 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001574/0.5686, allocations: 1.374 MB / 0.8055 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003363/0.569, allocations: 202 kB / 0.8057 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008207/0.5698, allocations: 0.585 MB / 0.8063 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007355/0.5705, allocations: 0.6779 MB / 0.807 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.891e-05/0.5706, allocations: 77.22 kB / 0.807 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.5734, allocations: 1.409 MB / 0.8084 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.5735, allocations: 197.3 kB / 0.8086 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004282/0.5739, allocations: 0.5153 MB / 0.8091 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.5761, allocations: 1.593 MB / 0.8107 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5761, allocations: 0 / 0.8107 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5761, allocations: 0 / 0.8107 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.5761, allocations: 0 / 0.8107 GB, free: 0.8516 MB / 0.5762 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.002077/0.5782, allocations: 1.385 MB / 0.812 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.5783, allocations: 10.81 kB / 0.812 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.5784, allocations: 129.1 kB / 0.8122 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.5795, allocations: 0.7042 MB / 0.8128 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.5795, allocations: 56.75 kB / 0.8129 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.5796, allocations: 71.77 kB / 0.813 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009481/0.5805, allocations: 0.7427 MB / 0.8137 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.5805, allocations: 0 / 0.8137 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/0.5806, allocations: 29.45 kB / 0.8137 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.5806, allocations: 19.09 kB / 0.8137 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009306/0.5815, allocations: 0.6533 MB / 0.8144 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003418/0.585, allocations: 3.066 MB / 0.8174 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.586, allocations: 0.538 MB / 0.8179 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.5864, allocations: 228.1 kB / 0.8181 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/0.588, allocations: 0.9946 MB / 0.8191 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.5881, allocations: 39.97 kB / 0.8191 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 1.853e-06/0.5881, allocations: 7.875 kB / 0.8191 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.003095/0.5912, allocations: 1.558 MB / 0.8206 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.5912, allocations: 56.75 kB / 0.8207 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007758/0.592, allocations: 0.6997 MB / 0.8214 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.592, allocations: 36.27 kB / 0.8214 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.5924, allocations: 443.7 kB / 0.8218 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.5925, allocations: 210.3 kB / 0.822 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.5927, allocations: 92.41 kB / 0.8221 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5928, allocations: 326.9 kB / 0.8224 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.5931, allocations: 160.9 kB / 0.8226 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.5935, allocations: 231.3 kB / 0.8228 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006889/0.5941, allocations: 425.8 kB / 0.8232 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5941, allocations: 4 kB / 0.8232 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001127/0.5953, allocations: 0.6444 MB / 0.8239 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.5953, allocations: 9.312 kB / 0.8239 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.5953, allocations: 2.719 kB / 0.8239 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000391/0.5957, allocations: 106.7 kB / 0.824 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.596, allocations: 103.9 kB / 0.8241 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.5982, allocations: 1.939 MB / 0.826 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.5985, allocations: 21.52 kB / 0.826 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.5985, allocations: 17.09 kB / 0.826 GB, free: 7.395 MB / 0.5919 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.0003009/0.5988, allocations: 209.5 kB / 0.8262 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.599, allocations: 95.95 kB / 0.8263 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.6005, allocations: 0.8606 MB / 0.8271 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.6005, allocations: 4.875 kB / 0.8271 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6005, allocations: 2.781 kB / 0.8271 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.6005, allocations: 3.984 kB / 0.8271 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.6028, allocations: 1.502 MB / 0.8286 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.6028, allocations: 7.75 kB / 0.8286 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.6031, allocations: 91.39 kB / 0.8287 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.6034, allocations: 120.7 kB / 0.8288 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.6035, allocations: 23.77 kB / 0.8288 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.6055, allocations: 1.946 MB / 0.8307 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6055, allocations: 2.766 kB / 0.8307 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.6071, allocations: 0.9864 MB / 0.8317 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.6072, allocations: 84.62 kB / 0.8318 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.455e-05/0.6073, allocations: 12.78 kB / 0.8318 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.6076, allocations: 22.02 kB / 0.8318 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.6077, allocations: 47.5 kB / 0.8319 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.6077, allocations: 24.98 kB / 0.8319 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005863/0.6083, allocations: 0.5037 MB / 0.8324 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6083, allocations: 0 / 0.8324 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000819/0.6091, allocations: 335.3 kB / 0.8327 GB, free: 2.68 MB / 0.5919 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.0006427/0.6098, allocations: 483.1 kB / 0.8332 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.6109, allocations: 0.5891 MB / 0.8337 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.6109, allocations: 0 / 0.8337 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006767/0.6116, allocations: 416 kB / 0.8341 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.6127, allocations: 274 kB / 0.8344 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.6152, allocations: 1.645 MB / 0.836 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/0.6158, allocations: 1.008 MB / 0.837 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.616, allocations: 79.55 kB / 0.8371 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.616, allocations: 0 / 0.8371 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.02526/0.6412, allocations: 19.2 MB / 0.8558 GB, free: 14.77 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile [Timeout 660] (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) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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: 9.34120933408849]