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.001433/0.001433, allocations: 80.81 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.001569/0.001569, 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 1.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.7494/0.7494, allocations: 118.7 MB / 378.9 MB, free: 1.355 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.352e-06/1.352e-06, allocations: 0 / 430.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.307e-05, allocations: 2.312 kB / 430.9 MB, free: 13.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.3621/0.3621, allocations: 142.9 MB / 0.5603 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.3752, allocations: 5.503 MB / 0.5657 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002619/0.3778, allocations: 210.1 kB / 0.5659 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.3794, allocations: 0.7088 MB / 0.5666 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.3835, allocations: 2.107 MB / 0.5687 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.3857, allocations: 1.064 MB / 0.5697 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005577/0.3913, allocations: 5.368 MB / 0.575 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.3924, allocations: 0.675 MB / 0.5756 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004669/0.3971, allocations: 2.778 MB / 0.5783 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.3999, allocations: 2.12 MB / 0.5804 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0008703/0.4008, allocations: 268 kB / 0.5806 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.4023, allocations: 0.6672 MB / 0.5813 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0005051/0.4028, allocations: 0.6573 MB / 0.5819 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.4043, allocations: 1.134 MB / 0.583 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00408/0.4084, allocations: 3.032 MB / 0.586 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4084, allocations: 4 kB / 0.586 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4084, allocations: 0 / 0.586 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.125e-05/0.4084, allocations: 0 / 0.586 GB, free: 1.871 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.003951/0.4124, allocations: 3.538 MB / 0.5895 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.4124, allocations: 12.03 kB / 0.5895 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000737/0.4132, allocations: 476.1 kB / 0.5899 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/0.4158, allocations: 1.904 MB / 0.5918 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-05/0.4159, allocations: 160.5 kB / 0.5919 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005371/0.4164, allocations: 228.2 kB / 0.5922 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.4181, allocations: 1.581 MB / 0.5937 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.4182, allocations: 7.875 kB / 0.5937 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-05/0.4183, allocations: 84 kB / 0.5938 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.4183, allocations: 52 kB / 0.5938 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000922/0.4192, allocations: 0.7221 MB / 0.5946 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006905/0.4261, allocations: 5.574 MB / 0.6 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.4274, allocations: 1.057 MB / 0.601 GB, free: 2.078 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/0.4278, allocations: 366.2 kB / 0.6014 GB, free: 1.715 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003583/0.4314, allocations: 2.304 MB / 0.6036 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006365/0.432, allocations: 0.6173 MB / 0.6042 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=178): time 2.795e-06/0.432, allocations: 0 / 0.6042 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=179): time 0.004316/0.4364, allocations: 2.424 MB / 0.6066 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.4364, allocations: 99.11 kB / 0.6067 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009865/0.4374, allocations: 1.473 MB / 0.6081 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.42e-05/0.4375, allocations: 57.7 kB / 0.6082 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/0.4379, allocations: 0.8167 MB / 0.609 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.4383, allocations: 0.6389 MB / 0.6096 GB, free: 9.125 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.4386, allocations: 275.4 kB / 0.6099 GB, free: 8.852 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.837e-05/0.4386, allocations: 301.1 kB / 0.6102 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.4389, allocations: 221.6 kB / 0.6104 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.4393, allocations: 429.1 kB / 0.6108 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007296/0.4401, allocations: 0.7787 MB / 0.6115 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4401, allocations: 7.938 kB / 0.6115 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.001615/0.4417, allocations: 1.283 MB / 0.6128 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.4417, allocations: 33.7 kB / 0.6128 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.4417, allocations: 7.984 kB / 0.6128 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.4431, allocations: 0.4969 MB / 0.6133 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/0.4436, allocations: 287.6 kB / 0.6136 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008516/0.4522, allocations: 12.47 MB / 0.6258 GB, free: 7.578 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009935/0.4531, allocations: 83.55 kB / 0.6259 GB, free: 7.496 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.4532, allocations: 55.97 kB / 0.6259 GB, free: 7.441 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.0004952/0.4537, allocations: 199 kB / 0.6261 GB, free: 7.238 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/0.454, allocations: 227.6 kB / 0.6263 GB, free: 7.016 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002498/0.4565, allocations: 2.171 MB / 0.6284 GB, free: 4.84 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.4566, allocations: 19.94 kB / 0.6285 GB, free: 4.82 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.4566, allocations: 8 kB / 0.6285 GB, free: 4.812 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.4566, allocations: 15.95 kB / 0.6285 GB, free: 4.797 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.4598, allocations: 2.527 MB / 0.6309 GB, free: 2.191 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.4598, allocations: 7.984 kB / 0.631 GB, free: 2.184 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004939/0.4603, allocations: 247.9 kB / 0.6312 GB, free: 1.941 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008979/0.4612, allocations: 0.49 MB / 0.6317 GB, free: 1.426 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.76e-05/0.4613, allocations: 51.97 kB / 0.6317 GB, free: 1.375 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006883/0.4682, allocations: 12.06 MB / 0.6435 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4682, allocations: 3.938 kB / 0.6435 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.4708, allocations: 1.762 MB / 0.6452 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006398/0.4714, allocations: 313.9 kB / 0.6455 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.4716, allocations: 47.95 kB / 0.6456 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.472, allocations: 43.98 kB / 0.6456 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/0.4723, allocations: 161.6 kB / 0.6458 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.266e-05/0.4724, allocations: 39.97 kB / 0.6458 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006711/0.473, allocations: 0.8085 MB / 0.6466 GB, free: 1.289 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.473, allocations: 0 / 0.6466 GB, free: 1.289 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001698/0.4747, allocations: 0.7378 MB / 0.6473 GB, free: 0.5508 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.0004134/0.4752, allocations: 267.6 kB / 0.6476 GB, free: 288 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002462/0.4776, allocations: 2.15 MB / 0.6497 GB, free: 14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.92e-05/0.4776, allocations: 20 kB / 0.6497 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/0.4791, allocations: 1.732 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.002031/0.4811, allocations: 0.8778 MB / 0.6522 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005858/0.487, allocations: 4.411 MB / 0.6565 GB, free: 6.773 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.4874, allocations: 470.1 kB / 0.657 GB, free: 6.281 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001169/0.4886, allocations: 418.7 kB / 0.6574 GB, free: 5.875 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/0.4898, allocations: 0.6357 MB / 0.658 GB, free: 5.219 MB / 0.6042 GB Notification: Performance of SimCode: time 1.603e-06/0.4898, allocations: 0 / 0.658 GB, free: 5.219 MB / 0.6042 GB Notification: Performance of Templates: time 0.2926/0.7824, allocations: 45.58 MB / 0.7025 GB, free: 92.45 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 -s gbode -gbm=radauIIA3 -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.156151827890426]