Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.001361/0.001361, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001463/0.001463, allocations: 160.6 kB / 22.45 MB, free: 5.375 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.416/1.416, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.767/0.767, allocations: 80.2 MB / 339.4 MB, free: 10.89 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.4929 GB, free: 25.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.768e-05, allocations: 4.359 kB / 0.4929 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1541/0.1541, allocations: 125.7 MB / 0.6156 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004827/0.1589, allocations: 3.097 MB / 0.6186 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005138/0.1594, allocations: 23.81 kB / 0.6186 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008068/0.1602, allocations: 198.6 kB / 0.6188 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.1618, allocations: 0.5433 MB / 0.6193 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.163, allocations: 414.4 kB / 0.6197 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.1642, allocations: 0.8083 MB / 0.6205 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.1644, allocations: 77.31 kB / 0.6206 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.1657, allocations: 0.4945 MB / 0.6211 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005899/0.1663, allocations: 323.1 kB / 0.6214 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.1664, allocations: 36 kB / 0.6214 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.1677, allocations: 0.4989 MB / 0.6219 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.1678, allocations: 95.55 kB / 0.622 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003064/0.1681, allocations: 171.5 kB / 0.6222 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.1696, allocations: 0.7555 MB / 0.6229 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1696, allocations: 0 / 0.6229 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1696, allocations: 0 / 0.6229 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.1696, allocations: 4 kB / 0.6229 GB, free: 9.984 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001792/0.1714, allocations: 0.7838 MB / 0.6237 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1715, allocations: 14.06 kB / 0.6237 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.1717, allocations: 56.61 kB / 0.6237 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007692/0.1724, allocations: 362.4 kB / 0.6241 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.1725, allocations: 21.38 kB / 0.6241 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-05/0.1725, allocations: 36.38 kB / 0.6241 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007985/0.1733, allocations: 428.5 kB / 0.6246 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1733, allocations: 192 / 0.6246 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.1734, allocations: 20.12 kB / 0.6246 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.1734, allocations: 8 kB / 0.6246 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008059/0.1742, allocations: 378.3 kB / 0.6249 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.1764, allocations: 1.238 MB / 0.6262 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008503/0.1772, allocations: 325.4 kB / 0.6265 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.1776, allocations: 156.7 kB / 0.6266 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001764/0.1793, allocations: 0.6989 MB / 0.6273 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004722/0.1798, allocations: 207.3 kB / 0.6275 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=37): time 3.407e-06/0.1798, allocations: 4 kB / 0.6275 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37): time 0.00152/0.1813, allocations: 0.5285 MB / 0.628 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.1814, allocations: 55.41 kB / 0.6281 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.1818, allocations: 333.6 kB / 0.6284 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.1818, allocations: 29.7 kB / 0.6284 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.1821, allocations: 236.4 kB / 0.6286 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.1822, allocations: 134.8 kB / 0.6288 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.1823, allocations: 74.02 kB / 0.6288 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1825, allocations: 354.8 kB / 0.6292 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.1828, allocations: 142.4 kB / 0.6293 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.1832, allocations: 209 kB / 0.6295 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.1838, allocations: 335.2 kB / 0.6298 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1838, allocations: 0 / 0.6298 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001057/0.1849, allocations: 498.5 kB / 0.6303 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/0.1849, allocations: 37.84 kB / 0.6303 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.185, allocations: 8 kB / 0.6304 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/0.1852, allocations: 36.83 kB / 0.6304 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.1855, allocations: 75.91 kB / 0.6305 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.1869, allocations: 1.401 MB / 0.6318 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.1872, allocations: 47.78 kB / 0.6319 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.1873, allocations: 19.98 kB / 0.6319 GB, free: 380 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002211/0.1875, allocations: 154.1 kB / 0.632 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.1876, allocations: 43.7 kB / 0.6321 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.1888, allocations: 0.5172 MB / 0.6326 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1888, allocations: 4.141 kB / 0.6326 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1888, allocations: 3.938 kB / 0.6326 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.1888, allocations: 3.984 kB / 0.6326 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.1905, allocations: 0.8519 MB / 0.6334 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1905, allocations: 0 / 0.6334 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.1907, allocations: 63.97 kB / 0.6335 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000163/0.1909, allocations: 40.81 kB / 0.6335 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.1909, allocations: 16 kB / 0.6335 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.1922, allocations: 1.389 MB / 0.6349 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.1922, allocations: 7.938 kB / 0.6349 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.1936, allocations: 0.6525 MB / 0.6355 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-05/0.1937, allocations: 43.69 kB / 0.6356 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.1937, allocations: 8 kB / 0.6356 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.194, allocations: 19.92 kB / 0.6356 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.1941, allocations: 35.94 kB / 0.6356 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.1941, allocations: 11.98 kB / 0.6357 GB, free: 12.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002902/0.1944, allocations: 247.2 kB / 0.6359 GB, free: 12.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1944, allocations: 3.938 kB / 0.6359 GB, free: 12.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000632/0.195, allocations: 183.6 kB / 0.6361 GB, free: 11.89 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (flowResistance.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004566/0.1955, allocations: 253.1 kB / 0.6363 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.1966, allocations: 0.5034 MB / 0.6368 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1966, allocations: 0 / 0.6368 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005362/0.1971, allocations: 282.9 kB / 0.6371 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.1981, allocations: 182.4 kB / 0.6373 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.2002, allocations: 0.8482 MB / 0.6381 GB, free: 9.777 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.2005, allocations: 216.2 kB / 0.6383 GB, free: 9.547 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003032/0.2008, allocations: 88.3 kB / 0.6384 GB, free: 9.477 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.2009, allocations: 44.48 kB / 0.6384 GB, free: 9.434 MB / 0.545 GB Notification: Performance of SimCode: time 1.403e-06/0.2009, allocations: 0 / 0.6384 GB, free: 9.434 MB / 0.545 GB Notification: Performance of Templates: time 0.0182/0.2191, allocations: 9.195 MB / 0.6474 GB, free: 404 kB / 0.545 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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: 5.577659625560045]