Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.002304/0.002304, allocations: 85.48 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.002662/0.002662, allocations: 169.2 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.581/1.581, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.022/1.022, allocations: 118.6 MB / 378.2 MB, free: 1.453 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 482.9 MB, free: 8.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.382e-05, allocations: 3.406 kB / 482.9 MB, free: 8.281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.5756/0.5756, allocations: 227.3 MB / 0.6935 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03047/0.6061, allocations: 28.63 MB / 0.7215 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003613/0.6097, allocations: 212.6 kB / 0.7217 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00484/0.6146, allocations: 1.605 MB / 0.7233 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009093/0.6237, allocations: 3.009 MB / 0.7262 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.008244/0.6319, allocations: 2.732 MB / 0.7289 GB, free: 9.883 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.007134/0.639, allocations: 5.364 MB / 0.7341 GB, free: 7.938 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.6406, allocations: 0.6306 MB / 0.7347 GB, free: 23.59 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00743/0.6481, allocations: 3.383 MB / 0.738 GB, free: 22.38 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003799/0.6519, allocations: 2.142 MB / 0.7401 GB, free: 21.78 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0006541/0.6525, allocations: 268.8 kB / 0.7404 GB, free: 21.78 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008156/0.6607, allocations: 3.204 MB / 0.7435 GB, free: 20.74 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007117/0.6614, allocations: 0.6814 MB / 0.7442 GB, free: 20.22 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002171/0.6636, allocations: 1.125 MB / 0.7453 GB, free: 19.73 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.008822/0.6724, allocations: 5.207 MB / 0.7504 GB, free: 16.84 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6724, allocations: 0 / 0.7504 GB, free: 16.84 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6724, allocations: 4 kB / 0.7504 GB, free: 16.83 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.916e-05/0.6725, allocations: 7.922 kB / 0.7504 GB, free: 16.82 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.007354/0.6798, allocations: 4.073 MB / 0.7543 GB, free: 14.03 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.6798, allocations: 9.906 kB / 0.7544 GB, free: 14.03 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.6812, allocations: 0.5995 MB / 0.7549 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004744/0.686, allocations: 2.212 MB / 0.7571 GB, free: 12.36 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.6861, allocations: 158 kB / 0.7573 GB, free: 12.28 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003181/0.6864, allocations: 223.7 kB / 0.7575 GB, free: 12.2 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004147/0.6906, allocations: 2.275 MB / 0.7597 GB, free: 10.78 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.972e-05/0.6906, allocations: 6.938 kB / 0.7597 GB, free: 10.78 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001964/0.6908, allocations: 86.34 kB / 0.7598 GB, free: 10.71 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.6908, allocations: 49.84 kB / 0.7598 GB, free: 10.71 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003133/0.694, allocations: 1.544 MB / 0.7613 GB, free: 10.1 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.7091, allocations: 8.952 MB / 0.7701 GB, free: 3.496 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.7123, allocations: 1.538 MB / 0.7716 GB, free: 2.754 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.7136, allocations: 0.7057 MB / 0.7723 GB, free: 2.441 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006999/0.7206, allocations: 3.012 MB / 0.7752 GB, free: 300 kB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00199/0.7226, allocations: 1.009 MB / 0.7762 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=183): time 4.068e-06/0.7226, allocations: 0 / 0.7762 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=184): time 0.01343/0.736, allocations: 4.942 MB / 0.781 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.7361, allocations: 110.3 kB / 0.7811 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002943/0.7391, allocations: 1.997 MB / 0.7831 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002957/0.7394, allocations: 53.7 kB / 0.7831 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001766/0.7411, allocations: 1.342 MB / 0.7844 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.7421, allocations: 0.6971 MB / 0.7851 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00065/0.7428, allocations: 345.2 kB / 0.7854 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000263/0.7431, allocations: 480.8 kB / 0.7859 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.7444, allocations: 0.5795 MB / 0.7865 GB, free: 4.891 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.7461, allocations: 0.8578 MB / 0.7873 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003196/0.7493, allocations: 1.563 MB / 0.7888 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.7493, allocations: 0 / 0.7888 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00678/0.7561, allocations: 2.475 MB / 0.7912 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/0.7562, allocations: 37.69 kB / 0.7913 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.7562, allocations: 4 kB / 0.7913 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/0.7589, allocations: 0.6868 MB / 0.792 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.7602, allocations: 297.8 kB / 0.7922 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02385/0.7841, allocations: 19.79 MB / 0.8116 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.7857, allocations: 95.48 kB / 0.8117 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/0.786, allocations: 75.97 kB / 0.8117 GB, free: 9.844 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.00107/0.787, allocations: 462.4 kB / 0.8122 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/0.7881, allocations: 334.2 kB / 0.8125 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007542/0.7956, allocations: 3.526 MB / 0.8159 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/0.7956, allocations: 20 kB / 0.816 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.12e-05/0.7957, allocations: 12 kB / 0.816 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/0.7957, allocations: 11.91 kB / 0.816 GB, free: 5.531 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.8064, allocations: 4.869 MB / 0.8207 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.8064, allocations: 4 kB / 0.8207 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.8075, allocations: 271.1 kB / 0.821 GB, free: 388 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00239/0.8099, allocations: 0.6122 MB / 0.8216 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.8101, allocations: 71.95 kB / 0.8217 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/0.8298, allocations: 18.97 MB / 0.8402 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8298, allocations: 0 / 0.8402 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00822/0.838, allocations: 3.44 MB / 0.8435 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/0.8394, allocations: 449.8 kB / 0.844 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003699/0.8398, allocations: 51.89 kB / 0.844 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009978/0.8407, allocations: 63.89 kB / 0.8441 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004563/0.8412, allocations: 176.2 kB / 0.8443 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/0.8414, allocations: 67.97 kB / 0.8443 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00202/0.8434, allocations: 1.272 MB / 0.8456 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.8434, allocations: 0 / 0.8456 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003435/0.8468, allocations: 0.9288 MB / 0.8465 GB, free: 5.188 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.00193/0.8488, allocations: 1.007 MB / 0.8475 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006553/0.8553, allocations: 3.411 MB / 0.8508 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.8553, allocations: 0 / 0.8508 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004388/0.8597, allocations: 2.636 MB / 0.8534 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00492/0.8646, allocations: 0.9165 MB / 0.8543 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.8753, allocations: 5.031 MB / 0.8592 GB, free: 7.934 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/0.8768, allocations: 1.167 MB / 0.8603 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001902/0.8787, allocations: 492.2 kB / 0.8608 GB, free: 6.316 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006135/0.8793, allocations: 224.4 kB / 0.861 GB, free: 6.098 MB / 0.6667 GB Notification: Performance of SimCode: time 1.603e-06/0.8793, allocations: 4 kB / 0.861 GB, free: 6.094 MB / 0.6667 GB Notification: Performance of Templates: time 0.3125/1.192, allocations: 53.92 MB / 0.9137 GB, free: 277.2 MB / 0.698 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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_dev_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.078067751950584]