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.000802/0.000802, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007912/0.0007912, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.8634/0.8634, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.4977/0.4977, allocations: 80.17 MB / 340.1 MB, free: 7.57 MB / 314.7 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.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.552e-06/1.552e-06, allocations: 0 / 0.4936 GB, free: 6.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.961e-05, allocations: 6.219 kB / 0.4936 GB, free: 6.344 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4113/0.4113, allocations: 203.6 MB / 0.6924 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02053/0.4319, allocations: 25.22 MB / 0.7171 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/0.4346, allocations: 203.7 kB / 0.7173 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002907/0.4375, allocations: 1.597 MB / 0.7188 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.006003/0.4435, allocations: 2.97 MB / 0.7217 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.005727/0.4492, allocations: 2.702 MB / 0.7244 GB, free: 472 kB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005084/0.4543, allocations: 5.327 MB / 0.7296 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009735/0.4553, allocations: 0.6165 MB / 0.7302 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004197/0.4595, allocations: 3.346 MB / 0.7334 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.4617, allocations: 2.108 MB / 0.7355 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004425/0.4621, allocations: 267.6 kB / 0.7357 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004886/0.467, allocations: 3.218 MB / 0.7389 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003753/0.4674, allocations: 0.6598 MB / 0.7395 GB, free: 8.762 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.4685, allocations: 1.111 MB / 0.7406 GB, free: 8.281 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005528/0.474, allocations: 5.083 MB / 0.7456 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.474, allocations: 0 / 0.7456 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.533e-06/0.474, allocations: 0 / 0.7456 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001248/0.4741, allocations: 0 / 0.7456 GB, free: 5.441 MB / 0.5573 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.004836/0.479, allocations: 3.611 MB / 0.7491 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.479, allocations: 13.45 kB / 0.7491 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006408/0.4796, allocations: 390.7 kB / 0.7495 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.482, allocations: 1.945 MB / 0.7514 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.718e-05/0.4821, allocations: 156.2 kB / 0.7515 GB, free: 456 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.4823, allocations: 219.9 kB / 0.7517 GB, free: 236 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/0.4849, allocations: 2.515 MB / 0.7542 GB, free: 13.61 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.485, allocations: 7.188 kB / 0.7542 GB, free: 13.6 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.4851, allocations: 84 kB / 0.7543 GB, free: 13.52 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.4851, allocations: 52 kB / 0.7543 GB, free: 13.47 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.4875, allocations: 2.269 MB / 0.7566 GB, free: 11.21 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00761/0.4951, allocations: 7.489 MB / 0.7639 GB, free: 3.797 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.4973, allocations: 1.616 MB / 0.7654 GB, free: 2.176 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009189/0.4982, allocations: 0.8132 MB / 0.7662 GB, free: 1.363 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004016/0.5022, allocations: 2.975 MB / 0.7691 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/0.5034, allocations: 1.046 MB / 0.7702 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=183): time 3.527e-06/0.5034, allocations: 4 kB / 0.7702 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=184): time 0.007016/0.5104, allocations: 5.322 MB / 0.7754 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.5105, allocations: 95.11 kB / 0.7755 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.5117, allocations: 1.515 MB / 0.7769 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-05/0.5118, allocations: 57.7 kB / 0.777 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006361/0.5124, allocations: 1.159 MB / 0.7781 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.5128, allocations: 0.6498 MB / 0.7788 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/0.5131, allocations: 299.5 kB / 0.779 GB, free: 4.164 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.942e-05/0.5131, allocations: 309.1 kB / 0.7793 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00084/0.514, allocations: 0.6997 MB / 0.78 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00095/0.5149, allocations: 0.8917 MB / 0.7809 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.5168, allocations: 1.683 MB / 0.7825 GB, free: 492 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5168, allocations: 0 / 0.7825 GB, free: 492 kB / 0.5886 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00315/0.5199, allocations: 2.572 MB / 0.785 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.52, allocations: 33.7 kB / 0.7851 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.52, allocations: 4 kB / 0.7851 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.521, allocations: 0.6245 MB / 0.7857 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/0.5216, allocations: 299.6 kB / 0.786 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009944/0.5315, allocations: 14.99 MB / 0.8006 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009105/0.5325, allocations: 103.6 kB / 0.8007 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.5326, allocations: 71.97 kB / 0.8008 GB, free: 12.93 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.0007909/0.5334, allocations: 435.1 kB / 0.8012 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003141/0.5337, allocations: 249.5 kB / 0.8014 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/0.5376, allocations: 3.385 MB / 0.8047 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.5376, allocations: 23.94 kB / 0.8048 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.5376, allocations: 12 kB / 0.8048 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.5376, allocations: 7.969 kB / 0.8048 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005102/0.5427, allocations: 4.533 MB / 0.8092 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.5427, allocations: 4 kB / 0.8092 GB, free: 4.332 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005436/0.5432, allocations: 278.3 kB / 0.8095 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000888/0.5441, allocations: 0.5483 MB / 0.81 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-05/0.5442, allocations: 67.95 kB / 0.8101 GB, free: 3.438 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007267/0.5515, allocations: 14.01 MB / 0.8238 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5515, allocations: 6.562 kB / 0.8238 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004162/0.5557, allocations: 3.646 MB / 0.8273 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.5559, allocations: 222.1 kB / 0.8275 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.5561, allocations: 47.94 kB / 0.8276 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.5566, allocations: 59.95 kB / 0.8277 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.5569, allocations: 178.7 kB / 0.8278 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.557, allocations: 71.95 kB / 0.8279 GB, free: 360 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009806/0.5579, allocations: 1.069 MB / 0.8289 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.5e-07/0.5579, allocations: 0 / 0.8289 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001948/0.5599, allocations: 0.9288 MB / 0.8298 GB, free: 14.34 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.001054/0.5609, allocations: 1.006 MB / 0.8308 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002993/0.5639, allocations: 3.016 MB / 0.8338 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5639, allocations: 3.938 kB / 0.8338 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.5657, allocations: 2.157 MB / 0.8359 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.5678, allocations: 0.8745 MB / 0.8367 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005638/0.5734, allocations: 5.037 MB / 0.8417 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007961/0.5742, allocations: 1.12 MB / 0.8427 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.5746, allocations: 232.4 kB / 0.843 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of SimCode: time 7.42e-07/0.5746, allocations: 0 / 0.843 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of Templates: time 0.283/0.8576, allocations: 144.6 MB / 0.9841 GB, free: 276.3 MB / 0.7292 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.884023996070027]