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.001003/0.001003, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001025/0.001025, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9421/0.9421, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6578/0.6578, allocations: 118.6 MB / 378.9 MB, free: 1.496 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.363e-06/1.363e-06, allocations: 0 / 483.6 MB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.437e-05, allocations: 2.312 kB / 483.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4104/0.4104, allocations: 227.6 MB / 0.6946 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02381/0.4342, allocations: 28.65 MB / 0.7225 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00333/0.4376, allocations: 212.9 kB / 0.7228 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003793/0.4413, allocations: 1.599 MB / 0.7243 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.006372/0.4477, allocations: 3.016 MB / 0.7273 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005841/0.4536, allocations: 2.728 MB / 0.7299 GB, free: 9.836 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004705/0.4583, allocations: 5.37 MB / 0.7352 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.4594, allocations: 0.6349 MB / 0.7358 GB, free: 23.41 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004127/0.4635, allocations: 3.384 MB / 0.7391 GB, free: 22.08 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.4658, allocations: 2.137 MB / 0.7412 GB, free: 21.22 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004674/0.4662, allocations: 266.2 kB / 0.7414 GB, free: 21.22 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004635/0.4709, allocations: 3.215 MB / 0.7446 GB, free: 20.17 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003231/0.4712, allocations: 0.6673 MB / 0.7452 GB, free: 19.65 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.4723, allocations: 1.123 MB / 0.7463 GB, free: 19.17 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004316/0.4766, allocations: 4.08 MB / 0.7503 GB, free: 17.17 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4766, allocations: 0 / 0.7503 GB, free: 17.17 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.11e-07/0.4766, allocations: 0 / 0.7503 GB, free: 17.17 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.623e-05/0.4767, allocations: 0 / 0.7503 GB, free: 17.17 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.004608/0.4813, allocations: 3.864 MB / 0.7541 GB, free: 14.48 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4813, allocations: 13.25 kB / 0.7541 GB, free: 14.48 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009981/0.4823, allocations: 0.595 MB / 0.7547 GB, free: 14.18 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.4849, allocations: 2.208 MB / 0.7568 GB, free: 12.8 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-05/0.485, allocations: 157.4 kB / 0.757 GB, free: 12.72 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.4852, allocations: 229.5 kB / 0.7572 GB, free: 12.64 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/0.4874, allocations: 1.751 MB / 0.7589 GB, free: 11.53 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.4874, allocations: 7.125 kB / 0.7589 GB, free: 11.52 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.4876, allocations: 87.88 kB / 0.759 GB, free: 11.46 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/0.4876, allocations: 50.22 kB / 0.759 GB, free: 11.46 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.4892, allocations: 1.025 MB / 0.76 GB, free: 11.11 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007094/0.4963, allocations: 7.879 MB / 0.7677 GB, free: 5.059 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.4981, allocations: 1.254 MB / 0.769 GB, free: 4.543 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006584/0.4987, allocations: 495.9 kB / 0.7694 GB, free: 4.363 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003534/0.5023, allocations: 2.719 MB / 0.7721 GB, free: 2.371 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009249/0.5032, allocations: 0.7244 MB / 0.7728 GB, free: 1.945 MB / 0.573 GB Notification: Performance of pre-optimization done (n=183): time 3.757e-06/0.5032, allocations: 0 / 0.7728 GB, free: 1.945 MB / 0.573 GB Notification: Performance of matching and sorting (n=184): time 0.006027/0.5092, allocations: 4.024 MB / 0.7767 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.5093, allocations: 106.2 kB / 0.7768 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.5105, allocations: 1.575 MB / 0.7784 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.163e-05/0.5106, allocations: 57.7 kB / 0.7784 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006491/0.5113, allocations: 1.255 MB / 0.7796 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.5116, allocations: 0.6579 MB / 0.7803 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/0.5119, allocations: 297.2 kB / 0.7806 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.512, allocations: 480.8 kB / 0.781 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/0.5126, allocations: 353.5 kB / 0.7814 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/0.5133, allocations: 0.5875 MB / 0.7819 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.5147, allocations: 1.04 MB / 0.783 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5147, allocations: 0 / 0.783 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.002798/0.5175, allocations: 1.91 MB / 0.7848 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.5175, allocations: 33.7 kB / 0.7849 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.5175, allocations: 4 kB / 0.7849 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.5187, allocations: 0.5433 MB / 0.7854 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/0.5193, allocations: 303.1 kB / 0.7857 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009879/0.5292, allocations: 18.1 MB / 0.8034 GB, free: 3.125 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005363/0.5298, allocations: 99.53 kB / 0.8035 GB, free: 3.027 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.5299, allocations: 75.97 kB / 0.8035 GB, free: 2.953 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.0003955/0.5303, allocations: 242.4 kB / 0.8038 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.5306, allocations: 342.1 kB / 0.8041 GB, free: 2.387 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.5343, allocations: 2.796 MB / 0.8068 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.5343, allocations: 20 kB / 0.8068 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.5343, allocations: 8 kB / 0.8068 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.5343, allocations: 15.89 kB / 0.8069 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004611/0.5389, allocations: 3.877 MB / 0.8106 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.539, allocations: 0 / 0.8106 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005742/0.5395, allocations: 276.6 kB / 0.8109 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/0.5408, allocations: 0.5414 MB / 0.8114 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.541, allocations: 63.97 kB / 0.8115 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007983/0.5489, allocations: 17.65 MB / 0.8287 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5489, allocations: 4 kB / 0.8287 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/0.5524, allocations: 2.597 MB / 0.8313 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006059/0.553, allocations: 449.8 kB / 0.8317 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.5532, allocations: 55.89 kB / 0.8317 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000504/0.5537, allocations: 59.89 kB / 0.8318 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/0.554, allocations: 172.2 kB / 0.832 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.331e-05/0.5541, allocations: 67.97 kB / 0.832 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00106/0.5551, allocations: 1.007 MB / 0.833 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.5551, allocations: 0 / 0.833 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002011/0.5571, allocations: 0.9288 MB / 0.8339 GB, free: 2.742 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.001117/0.5582, allocations: 1.016 MB / 0.8349 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002824/0.5611, allocations: 2.909 MB / 0.8378 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5611, allocations: 0 / 0.8378 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001938/0.563, allocations: 2.387 MB / 0.8401 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.5652, allocations: 0.9189 MB / 0.841 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005905/0.5711, allocations: 4.742 MB / 0.8456 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.5715, allocations: 486.9 kB / 0.8461 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00104/0.5725, allocations: 0.4926 MB / 0.8466 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005272/0.5731, allocations: 224.4 kB / 0.8468 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of SimCode: time 1.313e-06/0.5731, allocations: 0 / 0.8468 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of Templates: time 0.06074/0.6338, allocations: 53.99 MB / 0.8995 GB, free: 388 kB / 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=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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.298792741959915]