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.001505/0.001505, 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.001684/0.001684, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.361/1.361, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 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 0.7365/0.7365, allocations: 100.3 MB / 413.5 MB, free: 3.707 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: 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.002342/0.002342, allocations: 89.25 kB / 0.5645 GB, free: 35.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1163, allocations: 74.47 MB / 0.6372 GB, free: 7.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4905/0.6068, allocations: 227.3 MB / 0.8592 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03862/0.6454, allocations: 31.24 MB / 0.8897 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003485/0.6489, allocations: 202.2 kB / 0.8899 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004988/0.6539, allocations: 1.739 MB / 0.8916 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008213/0.6621, allocations: 2.75 MB / 0.8943 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007186/0.6693, allocations: 2.709 MB / 0.8969 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007096/0.6763, allocations: 4.865 MB / 0.9017 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.6779, allocations: 0.6433 MB / 0.9023 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005017/0.683, allocations: 2.49 MB / 0.9047 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003789/0.6868, allocations: 2.343 MB / 0.907 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000759/0.6875, allocations: 264 kB / 0.9073 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008305/0.6958, allocations: 3.825 MB / 0.911 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.6969, allocations: 0.6302 MB / 0.9116 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002943/0.6998, allocations: 1.566 MB / 0.9132 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.7109, allocations: 5.005 MB / 0.918 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7109, allocations: 4 kB / 0.918 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7109, allocations: 0 / 0.918 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001191/0.711, allocations: 0 / 0.918 GB, free: 2.504 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.008328/0.7193, allocations: 3.597 MB / 0.9216 GB, free: 14.84 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.7194, allocations: 8.625 kB / 0.9216 GB, free: 14.83 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007995/0.7202, allocations: 354.7 kB / 0.9219 GB, free: 14.48 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/0.7243, allocations: 1.931 MB / 0.9238 GB, free: 12.46 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.7245, allocations: 156.2 kB / 0.9239 GB, free: 12.31 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004462/0.7249, allocations: 219.9 kB / 0.9241 GB, free: 12.09 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004792/0.7297, allocations: 2.503 MB / 0.9266 GB, free: 9.477 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.595e-05/0.7298, allocations: 7.938 kB / 0.9266 GB, free: 9.469 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.73, allocations: 80 kB / 0.9267 GB, free: 9.391 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/0.73, allocations: 55.98 kB / 0.9267 GB, free: 9.336 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004128/0.7341, allocations: 2.277 MB / 0.929 GB, free: 7.055 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/0.7492, allocations: 11.14 MB / 0.9398 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003379/0.7526, allocations: 1.628 MB / 0.9414 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.754, allocations: 0.8162 MB / 0.9422 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006931/0.761, allocations: 3.379 MB / 0.9455 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001888/0.7629, allocations: 1.048 MB / 0.9465 GB, free: 4.121 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=183): time 4.278e-06/0.7629, allocations: 0 / 0.9465 GB, free: 4.121 MB / 0.6856 GB Notification: Performance of matching and sorting (n=184): time 0.01191/0.7748, allocations: 5.328 MB / 0.9517 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.7748, allocations: 103.1 kB / 0.9518 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.7775, allocations: 1.871 MB / 0.9537 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.7776, allocations: 57.7 kB / 0.9537 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.7787, allocations: 1.107 MB / 0.9548 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005891/0.7792, allocations: 0.6506 MB / 0.9554 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004965/0.7797, allocations: 291.5 kB / 0.9557 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.7799, allocations: 309.1 kB / 0.956 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.7812, allocations: 0.6716 MB / 0.9567 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.7827, allocations: 0.8493 MB / 0.9575 GB, free: 8.73 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/0.7857, allocations: 1.665 MB / 0.9591 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.7857, allocations: 0 / 0.9591 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005551/0.7912, allocations: 2.546 MB / 0.9616 GB, free: 4.43 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.7913, allocations: 41.62 kB / 0.9617 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.7913, allocations: 8.844 kB / 0.9617 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.7933, allocations: 0.6187 MB / 0.9623 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.7944, allocations: 295.6 kB / 0.9625 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0181/0.8125, allocations: 15.3 MB / 0.9775 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.814, allocations: 103.5 kB / 0.9776 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000374/0.8144, allocations: 79.91 kB / 0.9777 GB, free: 2.938 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (163): * Single equations (assignments): 153 * 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.001213/0.8156, allocations: 425.5 kB / 0.9781 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000729/0.8163, allocations: 274.2 kB / 0.9783 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007134/0.8235, allocations: 3.447 MB / 0.9817 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.8235, allocations: 20 kB / 0.9817 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.284e-05/0.8235, allocations: 12 kB / 0.9817 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/0.8235, allocations: 7.969 kB / 0.9817 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009976/0.8335, allocations: 5.131 MB / 0.9867 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.8335, allocations: 0 / 0.9867 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.8346, allocations: 287.6 kB / 0.987 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/0.8363, allocations: 0.5364 MB / 0.9875 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/0.8364, allocations: 75.89 kB / 0.9876 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01358/0.85, allocations: 14.33 MB / 1.002 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.85, allocations: 8.016 kB / 1.002 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007924/0.8579, allocations: 3.7 MB / 1.005 GB, free: 5.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007046/0.8587, allocations: 269.8 kB / 1.005 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005189/0.8592, allocations: 47.95 kB / 1.006 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.8604, allocations: 63.95 kB / 1.006 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004279/0.8609, allocations: 182.1 kB / 1.006 GB, free: 4.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002145/0.8611, allocations: 71.97 kB / 1.006 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002193/0.8633, allocations: 1.329 MB / 1.007 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7e-08/0.8633, allocations: 0 / 1.007 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002943/0.8662, allocations: 0.9052 MB / 1.008 GB, free: 2.617 MB / 0.7481 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 (158): * Single equations (assignments): 147 * 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.001673/0.8679, allocations: 1.008 MB / 1.009 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0053/0.8732, allocations: 2.98 MB / 1.012 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.8732, allocations: 0 / 1.012 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003467/0.8766, allocations: 2.162 MB / 1.014 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003813/0.8805, allocations: 0.8248 MB / 1.015 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009161/0.8896, allocations: 5.118 MB / 1.02 GB, free: 6.254 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/0.8914, allocations: 1.68 MB / 1.021 GB, free: 4.539 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007551/0.8922, allocations: 243.4 kB / 1.022 GB, free: 4.301 MB / 0.7637 GB Notification: Performance of SimCode: time 1.062e-06/0.8922, allocations: 4 kB / 1.022 GB, free: 4.297 MB / 0.7637 GB Notification: Performance of Templates: time 0.3565/1.249, allocations: 143.8 MB / 1.162 GB, free: 233.4 MB / 0.795 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) [Timeout 1200] 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/jenkins1/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: 14.425492733018473]