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.001256/0.001256, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001381/0.001381, 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.9342/0.9342, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.6333/0.6333, allocations: 118.6 MB / 378.9 MB, free: 1.371 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 1.362e-06/1.362e-06, allocations: 0 / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.207e-06/1.057e-05, allocations: 2.312 kB / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.2688/0.2688, allocations: 142.9 MB / 0.5603 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.007232/0.276, allocations: 5.496 MB / 0.5656 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000847/0.2768, allocations: 206.1 kB / 0.5658 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.278, allocations: 0.7166 MB / 0.5665 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.2802, allocations: 2.107 MB / 0.5686 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.2815, allocations: 1.103 MB / 0.5696 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00319/0.2847, allocations: 5.365 MB / 0.5749 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006709/0.2853, allocations: 0.6711 MB / 0.5755 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.2874, allocations: 2.782 MB / 0.5783 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.2893, allocations: 2.124 MB / 0.5803 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.2895, allocations: 268 kB / 0.5806 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006753/0.2902, allocations: 0.6204 MB / 0.5812 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003581/0.2906, allocations: 0.669 MB / 0.5818 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0007715/0.2913, allocations: 1.126 MB / 0.5829 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.2934, allocations: 3.036 MB / 0.5859 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2934, allocations: 8 kB / 0.5859 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.72e-07/0.2934, allocations: 0 / 0.5859 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.912e-05/0.2934, allocations: 0 / 0.5859 GB, free: 1.863 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.003367/0.2968, allocations: 3.534 MB / 0.5894 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.2968, allocations: 8.031 kB / 0.5894 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005547/0.2973, allocations: 472.1 kB / 0.5898 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.2994, allocations: 1.908 MB / 0.5917 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.863e-05/0.2995, allocations: 160.6 kB / 0.5918 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.2997, allocations: 224.3 kB / 0.5921 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.3011, allocations: 1.585 MB / 0.5936 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.3012, allocations: 3.938 kB / 0.5936 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.742e-05/0.3013, allocations: 84 kB / 0.5937 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/0.3013, allocations: 52 kB / 0.5937 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.3024, allocations: 0.7221 MB / 0.5944 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005282/0.3077, allocations: 5.579 MB / 0.5999 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.3089, allocations: 1.063 MB / 0.6009 GB, free: 2.07 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006081/0.3095, allocations: 360.4 kB / 0.6013 GB, free: 1.711 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003188/0.3127, allocations: 2.297 MB / 0.6035 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005872/0.3132, allocations: 0.6251 MB / 0.6041 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=178): time 2.665e-06/0.3132, allocations: 0 / 0.6041 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=179): time 0.003505/0.3167, allocations: 2.421 MB / 0.6065 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3168, allocations: 95.11 kB / 0.6066 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008725/0.3177, allocations: 1.465 MB / 0.608 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.436e-05/0.3177, allocations: 61.7 kB / 0.6081 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005851/0.3183, allocations: 0.8245 MB / 0.6089 GB, free: 9.766 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.3186, allocations: 0.635 MB / 0.6095 GB, free: 9.125 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.3189, allocations: 271.4 kB / 0.6098 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.536e-05/0.319, allocations: 305.1 kB / 0.6101 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.3193, allocations: 225.5 kB / 0.6103 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.3196, allocations: 429.1 kB / 0.6107 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008705/0.3205, allocations: 0.771 MB / 0.6114 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3205, allocations: 0 / 0.6114 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.001542/0.322, allocations: 1.291 MB / 0.6127 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.3221, allocations: 30.48 kB / 0.6127 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3221, allocations: 4 kB / 0.6127 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009598/0.323, allocations: 0.494 MB / 0.6132 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005248/0.3236, allocations: 263.6 kB / 0.6135 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007153/0.3307, allocations: 12.46 MB / 0.6256 GB, free: 7.633 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/0.3311, allocations: 91.55 kB / 0.6257 GB, free: 7.543 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-05/0.3312, allocations: 51.92 kB / 0.6258 GB, free: 7.492 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.0003297/0.3315, allocations: 204.3 kB / 0.626 GB, free: 7.281 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.3318, allocations: 219.6 kB / 0.6262 GB, free: 7.066 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.3341, allocations: 2.182 MB / 0.6283 GB, free: 4.895 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.3341, allocations: 23.94 kB / 0.6283 GB, free: 4.871 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3341, allocations: 8 kB / 0.6283 GB, free: 4.863 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.3341, allocations: 7.969 kB / 0.6283 GB, free: 4.855 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/0.3373, allocations: 2.533 MB / 0.6308 GB, free: 2.242 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3373, allocations: 0 / 0.6308 GB, free: 2.242 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.3378, allocations: 223.6 kB / 0.631 GB, free: 2.023 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000886/0.3387, allocations: 0.4902 MB / 0.6315 GB, free: 1.508 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-05/0.3388, allocations: 59.95 kB / 0.6316 GB, free: 1.449 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00567/0.3444, allocations: 12.01 MB / 0.6433 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3445, allocations: 3.938 kB / 0.6433 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.3464, allocations: 1.774 MB / 0.645 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003881/0.3468, allocations: 305.9 kB / 0.6453 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.347, allocations: 48.14 kB / 0.6454 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.3474, allocations: 51.98 kB / 0.6454 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.3475, allocations: 157.6 kB / 0.6456 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/0.3476, allocations: 43.95 kB / 0.6456 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005364/0.3482, allocations: 0.8007 MB / 0.6464 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.3482, allocations: 4 kB / 0.6464 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001085/0.3492, allocations: 0.7417 MB / 0.6471 GB, free: 0.6562 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.0003209/0.3496, allocations: 264.6 kB / 0.6474 GB, free: 400 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.3513, allocations: 2.139 MB / 0.6495 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/0.3513, allocations: 24 kB / 0.6495 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001419/0.3527, allocations: 1.736 MB / 0.6512 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.3545, allocations: 0.8786 MB / 0.652 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.359, allocations: 4.418 MB / 0.6563 GB, free: 6.883 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.3593, allocations: 470.1 kB / 0.6568 GB, free: 6.391 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009581/0.3603, allocations: 423.5 kB / 0.6572 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.3613, allocations: 0.6396 MB / 0.6578 GB, free: 5.32 MB / 0.6042 GB Notification: Performance of SimCode: time 7.62e-07/0.3613, allocations: 4 kB / 0.6578 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of Templates: time 0.2139/0.5752, allocations: 45.58 MB / 0.7023 GB, free: 92.55 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 -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: 4.588335071690381]