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.00188/0.00188, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002253/0.002253, allocations: 165.3 kB / 22.76 MB, free: 1.652 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.492/1.492, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.021/1.021, allocations: 118.6 MB / 378.2 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.903e-06/1.903e-06, allocations: 2.625 kB / 482.9 MB, free: 8.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.431e-05, allocations: 10.03 kB / 482.9 MB, free: 8.301 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.5695/0.5695, allocations: 203.7 MB / 0.6705 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03565/0.6052, allocations: 25.3 MB / 0.6952 GB, free: 9.734 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004192/0.6094, allocations: 205.6 kB / 0.6954 GB, free: 9.734 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.006045/0.6154, allocations: 1.607 MB / 0.697 GB, free: 9.684 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.626, allocations: 3.011 MB / 0.6999 GB, free: 9.082 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.009344/0.6353, allocations: 2.726 MB / 0.7026 GB, free: 8.754 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.008789/0.6441, allocations: 5.379 MB / 0.7079 GB, free: 7.258 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.6466, allocations: 0.6218 MB / 0.7085 GB, free: 23.08 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009061/0.6557, allocations: 3.379 MB / 0.7118 GB, free: 22.7 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004872/0.6605, allocations: 2.126 MB / 0.7138 GB, free: 22.49 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001337/0.6619, allocations: 268.5 kB / 0.7141 GB, free: 22.49 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01023/0.6721, allocations: 3.213 MB / 0.7172 GB, free: 22.26 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001812/0.6739, allocations: 0.667 MB / 0.7179 GB, free: 22.11 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.004408/0.6783, allocations: 1.12 MB / 0.719 GB, free: 21.97 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.692, allocations: 5.207 MB / 0.7241 GB, free: 21.41 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.564e-05/0.692, allocations: 0.9062 kB / 0.7241 GB, free: 21.41 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.004e-06/0.692, allocations: 0 / 0.7241 GB, free: 21.41 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001402/0.6921, allocations: 0 / 0.7241 GB, free: 21.41 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.008556/0.7007, allocations: 3.725 MB / 0.7277 GB, free: 19.71 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.7007, allocations: 12.06 kB / 0.7277 GB, free: 19.71 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.7021, allocations: 0.594 MB / 0.7283 GB, free: 19.48 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003675/0.7058, allocations: 2.221 MB / 0.7305 GB, free: 18.14 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.7059, allocations: 157.9 kB / 0.7306 GB, free: 18.07 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003513/0.7063, allocations: 220 kB / 0.7308 GB, free: 17.99 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004056/0.7103, allocations: 2.517 MB / 0.7333 GB, free: 16.43 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/0.7104, allocations: 7.031 kB / 0.7333 GB, free: 16.42 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.7106, allocations: 88.06 kB / 0.7334 GB, free: 16.36 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/0.7106, allocations: 49.38 kB / 0.7334 GB, free: 16.36 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003574/0.7142, allocations: 2.272 MB / 0.7356 GB, free: 15.23 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/0.7291, allocations: 7.584 MB / 0.743 GB, free: 9.805 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00357/0.7327, allocations: 1.616 MB / 0.7446 GB, free: 8.957 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.7342, allocations: 0.8008 MB / 0.7454 GB, free: 8.535 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007475/0.7417, allocations: 2.967 MB / 0.7483 GB, free: 6.488 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002043/0.7438, allocations: 1.04 MB / 0.7493 GB, free: 5.852 MB / 0.573 GB Notification: Performance of pre-optimization done (n=183): time 3.987e-06/0.7438, allocations: 0 / 0.7493 GB, free: 5.852 MB / 0.573 GB Notification: Performance of matching and sorting (n=184): time 0.01386/0.7576, allocations: 5.43 MB / 0.7546 GB, free: 2.73 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.7577, allocations: 98.95 kB / 0.7547 GB, free: 2.633 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/0.7603, allocations: 1.64 MB / 0.7563 GB, free: 1.75 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002554/0.7606, allocations: 55.8 kB / 0.7564 GB, free: 1.695 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001407/0.762, allocations: 1.217 MB / 0.7576 GB, free: 0.6055 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.763, allocations: 0.6439 MB / 0.7582 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006238/0.7636, allocations: 295.5 kB / 0.7585 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.7638, allocations: 301.1 kB / 0.7588 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.7654, allocations: 0.6928 MB / 0.7594 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.7672, allocations: 0.8909 MB / 0.7603 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003579/0.7708, allocations: 1.672 MB / 0.7619 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.7708, allocations: 4 kB / 0.7619 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006651/0.7774, allocations: 2.649 MB / 0.7645 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/0.7775, allocations: 37.69 kB / 0.7646 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.7775, allocations: 4 kB / 0.7646 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002915/0.7804, allocations: 0.6721 MB / 0.7652 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.7818, allocations: 299.5 kB / 0.7655 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02202/0.8039, allocations: 15.04 MB / 0.7802 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.8057, allocations: 103.7 kB / 0.7803 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003018/0.806, allocations: 75.98 kB / 0.7804 GB, free: 8.305 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.001262/0.8072, allocations: 440.9 kB / 0.7808 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009265/0.8082, allocations: 342.1 kB / 0.7811 GB, free: 7.547 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007726/0.8159, allocations: 3.398 MB / 0.7844 GB, free: 4.215 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/0.8159, allocations: 23.94 kB / 0.7844 GB, free: 4.191 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/0.8159, allocations: 8 kB / 0.7845 GB, free: 4.184 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/0.816, allocations: 11.91 kB / 0.7845 GB, free: 4.172 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.8271, allocations: 4.562 MB / 0.7889 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.8271, allocations: 0 / 0.7889 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.8283, allocations: 279.8 kB / 0.7892 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002466/0.8308, allocations: 0.5854 MB / 0.7898 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/0.831, allocations: 63.95 kB / 0.7898 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01733/0.8483, allocations: 14.07 MB / 0.8036 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.8483, allocations: 4.031 kB / 0.8036 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008957/0.8572, allocations: 3.718 MB / 0.8072 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/0.8588, allocations: 455.5 kB / 0.8076 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/0.8592, allocations: 55.92 kB / 0.8077 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.8603, allocations: 67.89 kB / 0.8078 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000517/0.8608, allocations: 172.8 kB / 0.8079 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/0.861, allocations: 71.97 kB / 0.808 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0022/0.8632, allocations: 1.144 MB / 0.8091 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.8632, allocations: 3.938 kB / 0.8091 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004325/0.8675, allocations: 0.9327 MB / 0.81 GB, free: 9.117 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.001971/0.8695, allocations: 1.006 MB / 0.811 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006426/0.8759, allocations: 3.002 MB / 0.8139 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.8759, allocations: 0 / 0.8139 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004384/0.8803, allocations: 2.167 MB / 0.816 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004952/0.8852, allocations: 0.9189 MB / 0.8169 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.8976, allocations: 5.202 MB / 0.822 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/0.8993, allocations: 1.163 MB / 0.8232 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002365/0.9016, allocations: 0.501 MB / 0.8236 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/0.9023, allocations: 228.4 kB / 0.8239 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of SimCode: time 2.214e-06/0.9023, allocations: 0 / 0.8239 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.1058/1.008, allocations: 53.68 MB / 0.8763 GB, free: 6.145 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestConnectors_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.881000936031342]