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.001515/0.001515, allocations: 92.7 kB / 19.44 MB, free: 336 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.001784/0.001784, allocations: 161.3 kB / 22.75 MB, free: 1.66 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.524/1.524, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.07/1.07, allocations: 118.6 MB / 378.2 MB, free: 1.477 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.503e-06/1.503e-06, allocations: 0 / 482.9 MB, free: 8.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.261e-05, allocations: 4.141 kB / 482.9 MB, free: 8.316 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.5608/0.5609, allocations: 203.7 MB / 0.6705 GB, free: 9.922 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03273/0.5936, allocations: 25.29 MB / 0.6952 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003984/0.5976, allocations: 210.1 kB / 0.6954 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.005272/0.6029, allocations: 1.604 MB / 0.697 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009307/0.6122, allocations: 3.009 MB / 0.6999 GB, free: 9.066 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.008446/0.6206, allocations: 2.728 MB / 0.7026 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.007587/0.6282, allocations: 5.378 MB / 0.7078 GB, free: 7.242 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.6303, allocations: 0.626 MB / 0.7085 GB, free: 23.06 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008319/0.6387, allocations: 3.371 MB / 0.7118 GB, free: 22.68 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004378/0.643, allocations: 2.134 MB / 0.7138 GB, free: 22.48 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0009987/0.644, allocations: 267.9 kB / 0.7141 GB, free: 22.48 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008631/0.6527, allocations: 3.211 MB / 0.7172 GB, free: 22.24 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.6539, allocations: 0.6672 MB / 0.7179 GB, free: 22.09 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003034/0.6569, allocations: 1.119 MB / 0.719 GB, free: 21.95 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.6701, allocations: 5.205 MB / 0.7241 GB, free: 21.39 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.6701, allocations: 3.25 kB / 0.7241 GB, free: 21.39 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6701, allocations: 0.9688 kB / 0.7241 GB, free: 21.39 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001562/0.6703, allocations: 0 / 0.7241 GB, free: 21.39 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.00989/0.6802, allocations: 3.722 MB / 0.7277 GB, free: 19.68 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.6802, allocations: 9.125 kB / 0.7277 GB, free: 19.68 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.6819, allocations: 0.5967 MB / 0.7283 GB, free: 19.45 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007019/0.6889, allocations: 2.223 MB / 0.7305 GB, free: 18.13 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/0.6893, allocations: 161.4 kB / 0.7306 GB, free: 18.05 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/0.6905, allocations: 220 kB / 0.7308 GB, free: 17.97 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005809/0.6963, allocations: 2.52 MB / 0.7333 GB, free: 16.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.808e-05/0.6963, allocations: 6.875 kB / 0.7333 GB, free: 16.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.6965, allocations: 86.34 kB / 0.7334 GB, free: 16.33 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.6966, allocations: 50.81 kB / 0.7334 GB, free: 16.33 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004316/0.7009, allocations: 2.271 MB / 0.7356 GB, free: 15.21 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/0.7175, allocations: 7.582 MB / 0.743 GB, free: 9.789 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003932/0.7214, allocations: 1.611 MB / 0.7446 GB, free: 8.938 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/0.7233, allocations: 0.7977 MB / 0.7454 GB, free: 8.516 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00828/0.7316, allocations: 2.981 MB / 0.7483 GB, free: 6.461 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002291/0.7339, allocations: 1.031 MB / 0.7493 GB, free: 5.832 MB / 0.573 GB Notification: Performance of pre-optimization done (n=183): time 4.479e-06/0.7339, allocations: 0 / 0.7493 GB, free: 5.832 MB / 0.573 GB Notification: Performance of matching and sorting (n=184): time 0.01515/0.749, allocations: 5.442 MB / 0.7546 GB, free: 2.707 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.7491, allocations: 100.1 kB / 0.7547 GB, free: 2.605 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/0.7516, allocations: 1.641 MB / 0.7563 GB, free: 1.723 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003791/0.752, allocations: 55.67 kB / 0.7564 GB, free: 1.668 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.7534, allocations: 1.203 MB / 0.7575 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.7544, allocations: 0.653 MB / 0.7582 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006865/0.7551, allocations: 299.5 kB / 0.7585 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.7553, allocations: 301.1 kB / 0.7588 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.757, allocations: 0.6967 MB / 0.7594 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.759, allocations: 0.8878 MB / 0.7603 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00386/0.7628, allocations: 1.667 MB / 0.7619 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.7629, allocations: 8 kB / 0.7619 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00746/0.7703, allocations: 2.657 MB / 0.7645 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-05/0.7704, allocations: 37.86 kB / 0.7646 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.7704, allocations: 4 kB / 0.7646 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002924/0.7733, allocations: 0.6677 MB / 0.7652 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/0.775, allocations: 299.5 kB / 0.7655 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02249/0.7975, allocations: 15.03 MB / 0.7802 GB, free: 8.414 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.7993, allocations: 111.5 kB / 0.7803 GB, free: 8.305 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000416/0.7998, allocations: 75.97 kB / 0.7804 GB, free: 8.23 MB / 0.6042 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.001311/0.8011, allocations: 437.5 kB / 0.7808 GB, free: 7.809 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/0.8022, allocations: 330.2 kB / 0.7811 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00871/0.8109, allocations: 3.392 MB / 0.7844 GB, free: 4.152 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.284e-05/0.8109, allocations: 24 kB / 0.7844 GB, free: 4.129 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.366e-05/0.8109, allocations: 8 kB / 0.7844 GB, free: 4.121 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-05/0.811, allocations: 15.89 kB / 0.7845 GB, free: 4.105 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.8239, allocations: 4.562 MB / 0.7889 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.8239, allocations: 0 / 0.7889 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/0.8254, allocations: 279.5 kB / 0.7892 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002641/0.828, allocations: 0.5988 MB / 0.7898 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004566/0.8285, allocations: 59.97 kB / 0.7898 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01771/0.8462, allocations: 14.07 MB / 0.8036 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.8462, allocations: 4.031 kB / 0.8036 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009918/0.8561, allocations: 3.717 MB / 0.8072 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/0.858, allocations: 453.8 kB / 0.8076 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006819/0.8587, allocations: 55.05 kB / 0.8077 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/0.8602, allocations: 63.89 kB / 0.8077 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005797/0.8608, allocations: 176.9 kB / 0.8079 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002354/0.861, allocations: 67.95 kB / 0.808 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002246/0.8632, allocations: 1.148 MB / 0.8091 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8632, allocations: 0 / 0.8091 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004257/0.8675, allocations: 0.9327 MB / 0.81 GB, free: 9.055 MB / 0.6355 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.002362/0.8699, allocations: 1.03 MB / 0.811 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007411/0.8773, allocations: 2.994 MB / 0.8139 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.8773, allocations: 0 / 0.8139 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004817/0.8821, allocations: 2.163 MB / 0.8161 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00573/0.8878, allocations: 0.9193 MB / 0.817 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.9014, allocations: 5.19 MB / 0.822 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.9032, allocations: 1.175 MB / 0.8232 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002459/0.9056, allocations: 0.4961 MB / 0.8237 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000731/0.9064, allocations: 224.4 kB / 0.8239 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of SimCode: time 1.714e-06/0.9064, allocations: 0 / 0.8239 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of Templates: time 0.1084/1.015, allocations: 53.62 MB / 0.8762 GB, free: 6.121 MB / 0.698 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) [Timeout 1200] 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: 9.065996593009913]