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.001157/0.001157, 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.001382/0.001382, allocations: 177 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.8665/0.8665, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.6479/0.6479, allocations: 118.7 MB / 378.9 MB, free: 1.336 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.022e-06/1.022e-06, allocations: 0 / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.484e-06/8.506e-06, allocations: 5.547 kB / 430.8 MB, free: 13.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.2629/0.2629, allocations: 142.9 MB / 0.5603 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.007383/0.2702, allocations: 5.509 MB / 0.5656 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.2713, allocations: 210.1 kB / 0.5658 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.2724, allocations: 0.7088 MB / 0.5665 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.2748, allocations: 2.11 MB / 0.5686 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.2763, allocations: 1.095 MB / 0.5697 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003461/0.2797, allocations: 5.363 MB / 0.5749 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006782/0.2804, allocations: 0.6749 MB / 0.5756 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.2826, allocations: 2.782 MB / 0.5783 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.2845, allocations: 2.124 MB / 0.5803 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.2847, allocations: 264 kB / 0.5806 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007147/0.2855, allocations: 0.6244 MB / 0.5812 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.2858, allocations: 0.6651 MB / 0.5819 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0007926/0.2866, allocations: 1.126 MB / 0.583 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.2887, allocations: 3.036 MB / 0.5859 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2887, allocations: 0 / 0.5859 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2887, allocations: 3.938 kB / 0.5859 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.42e-05/0.2887, allocations: 3.984 kB / 0.5859 GB, free: 1.965 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.003422/0.2921, allocations: 3.526 MB / 0.5894 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.2922, allocations: 16.02 kB / 0.5894 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005482/0.2927, allocations: 472.1 kB / 0.5898 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.2948, allocations: 1.908 MB / 0.5917 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/0.2949, allocations: 156.6 kB / 0.5919 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.2951, allocations: 224.2 kB / 0.5921 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.2965, allocations: 1.589 MB / 0.5936 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.2966, allocations: 7.875 kB / 0.5936 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.941e-05/0.2967, allocations: 88 kB / 0.5937 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.2967, allocations: 52 kB / 0.5938 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.2978, allocations: 0.7143 MB / 0.5945 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005338/0.3031, allocations: 5.575 MB / 0.5999 GB, free: 3.258 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.3043, allocations: 1.075 MB / 0.601 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007363/0.3051, allocations: 366.1 kB / 0.6013 GB, free: 1.805 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003146/0.3082, allocations: 2.292 MB / 0.6035 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005758/0.3088, allocations: 0.6212 MB / 0.6041 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=178): time 2.725e-06/0.3088, allocations: 0 / 0.6041 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=179): time 0.003509/0.3123, allocations: 2.423 MB / 0.6065 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.3123, allocations: 103.1 kB / 0.6066 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.3136, allocations: 1.469 MB / 0.608 GB, free: 10.76 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.373e-05/0.3137, allocations: 53.7 kB / 0.6081 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.3141, allocations: 0.8206 MB / 0.6089 GB, free: 9.867 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/0.3144, allocations: 0.635 MB / 0.6095 GB, free: 9.227 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.3147, allocations: 279.4 kB / 0.6098 GB, free: 8.949 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.455e-05/0.3147, allocations: 305.1 kB / 0.6101 GB, free: 8.648 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.315, allocations: 225.6 kB / 0.6103 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.3154, allocations: 429.1 kB / 0.6107 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/0.3161, allocations: 0.7749 MB / 0.6115 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3161, allocations: 0 / 0.6115 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.001506/0.3176, allocations: 1.279 MB / 0.6127 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.3177, allocations: 39.58 kB / 0.6127 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.3177, allocations: 4 kB / 0.6127 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009528/0.3186, allocations: 0.5001 MB / 0.6132 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.3191, allocations: 259.6 kB / 0.6135 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007124/0.3263, allocations: 12.45 MB / 0.6256 GB, free: 7.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.3267, allocations: 83.55 kB / 0.6257 GB, free: 7.648 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/0.3268, allocations: 51.97 kB / 0.6258 GB, free: 7.598 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.0003364/0.3271, allocations: 212.3 kB / 0.626 GB, free: 7.379 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.3273, allocations: 215.6 kB / 0.6262 GB, free: 7.168 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.3296, allocations: 2.174 MB / 0.6283 GB, free: 4.996 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.3296, allocations: 19.94 kB / 0.6283 GB, free: 4.977 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.3296, allocations: 12 kB / 0.6283 GB, free: 4.965 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.3296, allocations: 11.97 kB / 0.6283 GB, free: 4.953 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.3328, allocations: 2.531 MB / 0.6308 GB, free: 2.344 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3328, allocations: 0 / 0.6308 GB, free: 2.344 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.3333, allocations: 219.9 kB / 0.631 GB, free: 2.129 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008716/0.3341, allocations: 0.4978 MB / 0.6315 GB, free: 1.605 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/0.3342, allocations: 47.97 kB / 0.6316 GB, free: 1.559 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005744/0.3399, allocations: 12.03 MB / 0.6433 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3399, allocations: 3.938 kB / 0.6433 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.3419, allocations: 1.766 MB / 0.645 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.3423, allocations: 313.9 kB / 0.6453 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.3424, allocations: 48.14 kB / 0.6454 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.3428, allocations: 43.98 kB / 0.6454 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.343, allocations: 157.7 kB / 0.6456 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.484e-05/0.3431, allocations: 39.97 kB / 0.6456 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005447/0.3436, allocations: 0.8123 MB / 0.6464 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.3436, allocations: 4 kB / 0.6464 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001203/0.3448, allocations: 0.7378 MB / 0.6471 GB, free: 0.75 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.0003412/0.3452, allocations: 255.7 kB / 0.6474 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001769/0.347, allocations: 2.154 MB / 0.6495 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/0.347, allocations: 20 kB / 0.6495 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.3484, allocations: 1.732 MB / 0.6512 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.3502, allocations: 0.8738 MB / 0.652 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004652/0.3549, allocations: 4.411 MB / 0.6563 GB, free: 6.984 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.3554, allocations: 470.1 kB / 0.6568 GB, free: 6.492 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007553/0.3562, allocations: 423.5 kB / 0.6572 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.3572, allocations: 0.6357 MB / 0.6578 GB, free: 5.426 MB / 0.6042 GB Notification: Performance of SimCode: time 7.61e-07/0.3572, allocations: 3.938 kB / 0.6578 GB, free: 5.422 MB / 0.6042 GB Notification: Performance of Templates: time 0.2131/0.5703, allocations: 45.59 MB / 0.7023 GB, free: 92.7 MB / 0.6042 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: 4.421166792977601]