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.0009906/0.0009906, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001428/0.001428, allocations: 173 kB / 23.49 MB, free: 1.055 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.062/1.062, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.6821/0.6821, allocations: 118.6 MB / 378.9 MB, free: 1.449 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.483e-06/1.483e-06, allocations: 0 / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.827e-05, allocations: 8.594 kB / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4372/0.4372, allocations: 227.6 MB / 0.6946 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02331/0.4605, allocations: 28.66 MB / 0.7226 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003296/0.4638, allocations: 206.6 kB / 0.7227 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003908/0.4677, allocations: 1.607 MB / 0.7243 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00734/0.4751, allocations: 3.01 MB / 0.7273 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005822/0.4809, allocations: 2.727 MB / 0.7299 GB, free: 10 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005802/0.4867, allocations: 5.368 MB / 0.7352 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.4881, allocations: 0.6301 MB / 0.7358 GB, free: 23.61 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007061/0.4952, allocations: 3.381 MB / 0.7391 GB, free: 22.29 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003494/0.4987, allocations: 2.143 MB / 0.7412 GB, free: 21.42 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0007319/0.4994, allocations: 266.9 kB / 0.7414 GB, free: 21.42 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006742/0.5061, allocations: 3.215 MB / 0.7446 GB, free: 20.37 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007116/0.5069, allocations: 0.6709 MB / 0.7452 GB, free: 19.85 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002512/0.5094, allocations: 1.135 MB / 0.7463 GB, free: 19.36 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00857/0.5179, allocations: 4.07 MB / 0.7503 GB, free: 17.36 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.5179, allocations: 0 / 0.7503 GB, free: 17.36 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5179, allocations: 0 / 0.7503 GB, free: 17.36 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001189/0.5181, allocations: 3.188 kB / 0.7503 GB, free: 17.36 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.005596/0.5237, allocations: 3.864 MB / 0.7541 GB, free: 14.67 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.5237, allocations: 12.22 kB / 0.7541 GB, free: 14.67 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.5251, allocations: 0.5984 MB / 0.7547 GB, free: 14.37 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003195/0.5283, allocations: 2.205 MB / 0.7568 GB, free: 12.99 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.13e-05/0.5284, allocations: 158.3 kB / 0.757 GB, free: 12.92 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.5286, allocations: 225 kB / 0.7572 GB, free: 12.84 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.5311, allocations: 1.748 MB / 0.7589 GB, free: 11.73 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/0.5311, allocations: 7.125 kB / 0.7589 GB, free: 11.72 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.5312, allocations: 90.19 kB / 0.759 GB, free: 11.65 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.5312, allocations: 53.59 kB / 0.759 GB, free: 11.65 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.5329, allocations: 1.018 MB / 0.76 GB, free: 11.31 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008725/0.5417, allocations: 7.879 MB / 0.7677 GB, free: 5.258 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.5435, allocations: 1.254 MB / 0.769 GB, free: 4.742 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/0.5442, allocations: 495.5 kB / 0.7694 GB, free: 4.562 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003993/0.5482, allocations: 2.72 MB / 0.7721 GB, free: 2.57 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.5492, allocations: 0.7227 MB / 0.7728 GB, free: 2.145 MB / 0.573 GB Notification: Performance of pre-optimization done (n=183): time 4.047e-06/0.5492, allocations: 0 / 0.7728 GB, free: 2.145 MB / 0.573 GB Notification: Performance of matching and sorting (n=184): time 0.006802/0.556, allocations: 4.025 MB / 0.7767 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002055/0.5562, allocations: 101.5 kB / 0.7768 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.5576, allocations: 1.579 MB / 0.7784 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.884e-05/0.5577, allocations: 57.7 kB / 0.7784 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007312/0.5584, allocations: 1.256 MB / 0.7796 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004239/0.5589, allocations: 0.6582 MB / 0.7803 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000324/0.5592, allocations: 297.2 kB / 0.7806 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5593, allocations: 476.8 kB / 0.781 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006182/0.5599, allocations: 357.5 kB / 0.7814 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007442/0.5607, allocations: 0.5911 MB / 0.7819 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.5621, allocations: 1.032 MB / 0.783 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.5621, allocations: 0 / 0.783 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.003146/0.5652, allocations: 1.904 MB / 0.7848 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.5653, allocations: 41.69 kB / 0.7849 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.5653, allocations: 4 kB / 0.7849 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.5666, allocations: 0.5478 MB / 0.7854 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/0.5672, allocations: 291.5 kB / 0.7857 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.5777, allocations: 18.11 MB / 0.8034 GB, free: 3.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009885/0.5787, allocations: 95.53 kB / 0.8034 GB, free: 3.227 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.5788, allocations: 75.97 kB / 0.8035 GB, free: 3.152 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.000534/0.5793, allocations: 250.5 kB / 0.8038 GB, free: 2.914 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004459/0.5798, allocations: 338.1 kB / 0.8041 GB, free: 2.582 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003805/0.5836, allocations: 2.799 MB / 0.8068 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.5836, allocations: 20 kB / 0.8068 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.5836, allocations: 8 kB / 0.8068 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.5836, allocations: 11.91 kB / 0.8069 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004922/0.5885, allocations: 3.877 MB / 0.8106 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5885, allocations: 4.219 kB / 0.8106 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.5891, allocations: 275.2 kB / 0.8109 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/0.5903, allocations: 0.5366 MB / 0.8114 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.5904, allocations: 67.95 kB / 0.8115 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008797/0.5992, allocations: 17.64 MB / 0.8287 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5992, allocations: 0 / 0.8287 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003988/0.6032, allocations: 2.597 MB / 0.8313 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006885/0.6038, allocations: 449.8 kB / 0.8317 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.604, allocations: 55.88 kB / 0.8317 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005178/0.6045, allocations: 55.91 kB / 0.8318 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/0.6049, allocations: 176.2 kB / 0.832 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.643e-05/0.6049, allocations: 67.97 kB / 0.832 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000952/0.6059, allocations: 1.012 MB / 0.833 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6059, allocations: 0 / 0.833 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002058/0.608, allocations: 0.9288 MB / 0.8339 GB, free: 2.945 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.0011/0.6091, allocations: 1.01 MB / 0.8349 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0029/0.612, allocations: 2.912 MB / 0.8378 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.612, allocations: 7.938 kB / 0.8378 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.6138, allocations: 2.386 MB / 0.8401 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.6162, allocations: 0.9219 MB / 0.841 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006259/0.6225, allocations: 4.748 MB / 0.8456 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.6229, allocations: 483.1 kB / 0.8461 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001238/0.6241, allocations: 0.4895 MB / 0.8466 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003793/0.6245, allocations: 224.4 kB / 0.8468 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of SimCode: time 1.643e-06/0.6245, allocations: 0 / 0.8468 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of Templates: time 0.06742/0.6919, allocations: 53.98 MB / 0.8995 GB, free: 0.5859 MB / 0.698 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: 5.58718644012697]