Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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.002539/0.002539, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002889/0.002889, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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.584/1.584, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.053/1.053, allocations: 118.6 MB / 378.2 MB, free: 1.5 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 482.9 MB, free: 8.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.347e-05, allocations: 2.312 kB / 482.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.6028/0.6028, allocations: 227.3 MB / 0.6935 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.04168/0.6445, allocations: 28.64 MB / 0.7215 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006402/0.6509, allocations: 211.4 kB / 0.7217 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.005335/0.6562, allocations: 1.602 MB / 0.7233 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008542/0.6648, allocations: 3.012 MB / 0.7262 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007368/0.6722, allocations: 2.728 MB / 0.7289 GB, free: 9.766 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006067/0.6782, allocations: 5.377 MB / 0.7341 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.6797, allocations: 0.6292 MB / 0.7347 GB, free: 23.43 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006087/0.6858, allocations: 3.378 MB / 0.738 GB, free: 22.22 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003122/0.6889, allocations: 2.146 MB / 0.7401 GB, free: 21.67 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004442/0.6894, allocations: 265.8 kB / 0.7404 GB, free: 21.67 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00651/0.6959, allocations: 3.214 MB / 0.7435 GB, free: 20.62 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005086/0.6964, allocations: 0.6739 MB / 0.7442 GB, free: 20.1 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.698, allocations: 1.127 MB / 0.7453 GB, free: 19.61 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.007618/0.7056, allocations: 5.21 MB / 0.7504 GB, free: 16.71 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7056, allocations: 0 / 0.7504 GB, free: 16.71 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7056, allocations: 0 / 0.7504 GB, free: 16.71 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.078e-05/0.7057, allocations: 0 / 0.7504 GB, free: 16.71 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.007721/0.7134, allocations: 4.071 MB / 0.7543 GB, free: 13.92 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.7134, allocations: 11.06 kB / 0.7544 GB, free: 13.92 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.7149, allocations: 0.5928 MB / 0.7549 GB, free: 13.62 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004581/0.7195, allocations: 2.216 MB / 0.7571 GB, free: 12.25 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.7196, allocations: 158 kB / 0.7572 GB, free: 12.17 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/0.72, allocations: 224.4 kB / 0.7575 GB, free: 12.09 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004369/0.7243, allocations: 2.273 MB / 0.7597 GB, free: 10.67 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-05/0.7244, allocations: 6.875 kB / 0.7597 GB, free: 10.67 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.7246, allocations: 90.31 kB / 0.7598 GB, free: 10.6 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.7246, allocations: 53.69 kB / 0.7598 GB, free: 10.6 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003127/0.7277, allocations: 1.541 MB / 0.7613 GB, free: 9.984 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/0.7426, allocations: 8.958 MB / 0.7701 GB, free: 3.383 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003339/0.7459, allocations: 1.531 MB / 0.7716 GB, free: 2.648 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.7472, allocations: 0.7029 MB / 0.7723 GB, free: 2.34 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007197/0.7544, allocations: 3.011 MB / 0.7752 GB, free: 196 kB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002028/0.7565, allocations: 1.005 MB / 0.7762 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=183): time 4.148e-06/0.7565, allocations: 4 kB / 0.7762 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=184): time 0.01335/0.7698, allocations: 4.941 MB / 0.781 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.567e-05/0.7699, allocations: 99.11 kB / 0.7811 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/0.7728, allocations: 1.996 MB / 0.7831 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.773, allocations: 61.7 kB / 0.7831 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.7745, allocations: 1.342 MB / 0.7844 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009147/0.7754, allocations: 0.6965 MB / 0.7851 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006535/0.7761, allocations: 349.2 kB / 0.7854 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002717/0.7764, allocations: 476.8 kB / 0.7859 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.7778, allocations: 0.5795 MB / 0.7865 GB, free: 4.824 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.7797, allocations: 0.8617 MB / 0.7873 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/0.783, allocations: 1.559 MB / 0.7888 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.783, allocations: 4 kB / 0.7888 GB, free: 2.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006229/0.7892, allocations: 2.469 MB / 0.7912 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.7893, allocations: 40.34 kB / 0.7913 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.7893, allocations: 4 kB / 0.7913 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00268/0.792, allocations: 0.6929 MB / 0.792 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.7932, allocations: 299.1 kB / 0.7922 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02334/0.8166, allocations: 19.79 MB / 0.8116 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.8182, allocations: 107.5 kB / 0.8117 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/0.8185, allocations: 75.97 kB / 0.8117 GB, free: 9.766 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (165): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,18,77.8%), (1,4,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001038/0.8195, allocations: 460.8 kB / 0.8122 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007355/0.8202, allocations: 334.2 kB / 0.8125 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007501/0.8277, allocations: 3.517 MB / 0.8159 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.8277, allocations: 20 kB / 0.816 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.8278, allocations: 8 kB / 0.816 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.577e-05/0.8278, allocations: 11.91 kB / 0.816 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009962/0.8377, allocations: 4.871 MB / 0.8207 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.8378, allocations: 4 kB / 0.8207 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.8389, allocations: 271.1 kB / 0.821 GB, free: 312 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002381/0.8413, allocations: 0.6177 MB / 0.8216 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/0.8415, allocations: 63.97 kB / 0.8217 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/0.8607, allocations: 18.97 MB / 0.8402 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.8607, allocations: 4 kB / 0.8402 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008382/0.8691, allocations: 3.448 MB / 0.8435 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/0.8704, allocations: 449.8 kB / 0.844 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/0.8708, allocations: 47.94 kB / 0.844 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009806/0.8717, allocations: 55.91 kB / 0.8441 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004815/0.8722, allocations: 182.7 kB / 0.8442 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/0.8724, allocations: 68.16 kB / 0.8443 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002156/0.8746, allocations: 1.273 MB / 0.8456 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.8746, allocations: 0 / 0.8456 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003169/0.8777, allocations: 0.9288 MB / 0.8465 GB, free: 5.109 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.rear.m_flow,sink1.inlet.m_flow,boundary_fore3.rear.m_flow,flowResistance.rear.m_flow,flowResistance2.rear.m_flow,flowResistance3.inlet.m_flow,flowResistance4.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 (154): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%), (3,18,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001908/0.8796, allocations: 1.017 MB / 0.8475 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006254/0.8859, allocations: 3.401 MB / 0.8508 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.8859, allocations: 0 / 0.8508 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004333/0.8902, allocations: 2.64 MB / 0.8534 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/0.8951, allocations: 0.9205 MB / 0.8543 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.9058, allocations: 5.033 MB / 0.8592 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.9073, allocations: 1.167 MB / 0.8603 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001884/0.9092, allocations: 494.2 kB / 0.8608 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005999/0.9098, allocations: 224.4 kB / 0.861 GB, free: 6.012 MB / 0.6667 GB Notification: Performance of SimCode: time 1.703e-06/0.9098, allocations: 0 / 0.861 GB, free: 6.012 MB / 0.6667 GB Notification: Performance of Templates: time 0.1052/1.015, allocations: 53.94 MB / 0.9137 GB, free: 1.055 MB / 0.7136 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestConnectors_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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: 8.971920739044435]