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.0008815/0.0008815, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001761/0.001761, allocations: 173 kB / 23.36 MB, free: 1.129 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.9298/0.9298, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.6585/0.6585, allocations: 118.6 MB / 378.9 MB, free: 1.312 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 2.064e-06/2.064e-06, allocations: 0 / 430.9 MB, free: 13.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.939e-05, allocations: 6.312 kB / 430.9 MB, free: 13.22 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.3086/0.3086, allocations: 142.9 MB / 0.5603 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.009215/0.3178, allocations: 5.503 MB / 0.5657 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.3191, allocations: 210.1 kB / 0.5659 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.3203, allocations: 0.7166 MB / 0.5666 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.3231, allocations: 2.107 MB / 0.5687 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.3246, allocations: 1.06 MB / 0.5697 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003796/0.3284, allocations: 5.366 MB / 0.5749 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007373/0.3291, allocations: 0.6672 MB / 0.5756 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.3316, allocations: 2.778 MB / 0.5783 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.3336, allocations: 2.128 MB / 0.5804 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002313/0.3338, allocations: 264 kB / 0.5806 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008021/0.3346, allocations: 0.6633 MB / 0.5813 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.335, allocations: 0.673 MB / 0.5819 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0007241/0.3357, allocations: 1.122 MB / 0.583 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.3381, allocations: 3.044 MB / 0.586 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3382, allocations: 0 / 0.586 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3382, allocations: 0 / 0.586 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.961e-05/0.3382, allocations: 0 / 0.586 GB, free: 1.848 MB / 0.5261 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.003095/0.3413, allocations: 3.534 MB / 0.5895 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.633e-05/0.3413, allocations: 8.031 kB / 0.5895 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005602/0.3419, allocations: 480.1 kB / 0.5899 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.3439, allocations: 1.908 MB / 0.5918 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.74e-05/0.344, allocations: 158.8 kB / 0.5919 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.3441, allocations: 224.3 kB / 0.5921 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.3459, allocations: 1.577 MB / 0.5937 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.3459, allocations: 7.938 kB / 0.5937 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.154e-05/0.346, allocations: 84 kB / 0.5938 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.346, allocations: 59.98 kB / 0.5938 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008779/0.3469, allocations: 0.7181 MB / 0.5945 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00558/0.3525, allocations: 5.584 MB / 0.6 GB, free: 3.129 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.3536, allocations: 1.048 MB / 0.601 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.354, allocations: 371.8 kB / 0.6014 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003131/0.3571, allocations: 2.293 MB / 0.6036 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005776/0.3577, allocations: 0.6173 MB / 0.6042 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=178): time 2.635e-06/0.3577, allocations: 4 kB / 0.6042 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=179): time 0.003419/0.3611, allocations: 2.421 MB / 0.6066 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.3611, allocations: 99.05 kB / 0.6067 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.3622, allocations: 1.469 MB / 0.6081 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.821e-05/0.3623, allocations: 53.7 kB / 0.6082 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.3627, allocations: 0.8245 MB / 0.609 GB, free: 9.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/0.363, allocations: 0.6427 MB / 0.6096 GB, free: 9.102 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.3632, allocations: 271.4 kB / 0.6098 GB, free: 8.832 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.146e-05/0.3633, allocations: 305.1 kB / 0.6101 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.3636, allocations: 229.2 kB / 0.6104 GB, free: 8.305 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.3639, allocations: 421.1 kB / 0.6108 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007295/0.3647, allocations: 0.7826 MB / 0.6115 GB, free: 7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3647, allocations: 0 / 0.6115 GB, free: 7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.001495/0.3662, allocations: 1.287 MB / 0.6128 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.3662, allocations: 33.7 kB / 0.6128 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3662, allocations: 11.97 kB / 0.6128 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000941/0.3671, allocations: 485.9 kB / 0.6133 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.3678, allocations: 295.6 kB / 0.6136 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007451/0.3753, allocations: 12.48 MB / 0.6258 GB, free: 7.562 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.3757, allocations: 87.55 kB / 0.6258 GB, free: 7.477 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.3758, allocations: 51.97 kB / 0.6259 GB, free: 7.426 MB / 0.573 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 (160): * Single equations (assignments): 150 * 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.0003193/0.3761, allocations: 200.4 kB / 0.6261 GB, free: 7.219 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.3763, allocations: 223.6 kB / 0.6263 GB, free: 7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/0.3789, allocations: 2.184 MB / 0.6284 GB, free: 4.828 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.3789, allocations: 23.94 kB / 0.6285 GB, free: 4.805 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3789, allocations: 8 kB / 0.6285 GB, free: 4.797 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.3789, allocations: 7.969 kB / 0.6285 GB, free: 4.789 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/0.3818, allocations: 2.529 MB / 0.6309 GB, free: 2.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3818, allocations: 4.219 kB / 0.6309 GB, free: 2.176 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004859/0.3823, allocations: 239.7 kB / 0.6312 GB, free: 1.941 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008693/0.3832, allocations: 0.4978 MB / 0.6317 GB, free: 1.418 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.877e-05/0.3833, allocations: 51.97 kB / 0.6317 GB, free: 1.367 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005876/0.3892, allocations: 12.05 MB / 0.6435 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3892, allocations: 11.88 kB / 0.6435 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.3911, allocations: 1.77 MB / 0.6452 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.3915, allocations: 313.9 kB / 0.6455 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.3916, allocations: 43.95 kB / 0.6455 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.392, allocations: 39.98 kB / 0.6456 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.3922, allocations: 157.6 kB / 0.6457 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.841e-05/0.3923, allocations: 51.95 kB / 0.6458 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005276/0.3928, allocations: 0.8046 MB / 0.6466 GB, free: 1.281 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.3928, allocations: 0 / 0.6466 GB, free: 1.281 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001197/0.394, allocations: 0.7417 MB / 0.6473 GB, free: 0.5391 MB / 0.5886 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 (141): * Single equations (assignments): 130 * 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,8,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,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.0003356/0.3943, allocations: 259.6 kB / 0.6475 GB, free: 284 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.3963, allocations: 2.149 MB / 0.6496 GB, free: 14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/0.3963, allocations: 27.88 kB / 0.6497 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.3975, allocations: 1.728 MB / 0.6514 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.3993, allocations: 0.8768 MB / 0.6522 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.4042, allocations: 4.421 MB / 0.6565 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.4045, allocations: 466.1 kB / 0.657 GB, free: 6.273 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007584/0.4052, allocations: 424.3 kB / 0.6574 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/0.4063, allocations: 0.6435 MB / 0.658 GB, free: 5.199 MB / 0.6042 GB Notification: Performance of SimCode: time 1.172e-06/0.4063, allocations: 0 / 0.658 GB, free: 5.199 MB / 0.6042 GB Notification: Performance of Templates: time 0.2515/0.6578, allocations: 45.58 MB / 0.7025 GB, free: 92.48 MB / 0.6042 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 -s gbode -gbm=radauIIA3 -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","",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.066058088093996]