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.001902/0.001902, allocations: 92.7 kB / 19.44 MB, free: 320 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.002457/0.002457, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.52/1.52, allocations: 177.1 MB / 203.1 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 178] 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 1.023/1.023, allocations: 118.6 MB / 378.2 MB, free: 1.469 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.263e-06/1.263e-06, allocations: 0 / 482.9 MB, free: 8.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.115e-05, allocations: 2.312 kB / 482.9 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.5595/0.5595, allocations: 203.7 MB / 0.6705 GB, free: 9.953 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03041/0.5899, allocations: 25.3 MB / 0.6952 GB, free: 9.75 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003397/0.5933, allocations: 206 kB / 0.6954 GB, free: 9.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004419/0.5978, allocations: 1.602 MB / 0.697 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008766/0.6065, allocations: 3.015 MB / 0.6999 GB, free: 9.098 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007684/0.6142, allocations: 2.725 MB / 0.7026 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006168/0.6204, allocations: 5.371 MB / 0.7078 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.6218, allocations: 0.6271 MB / 0.7085 GB, free: 23.1 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005631/0.6274, allocations: 3.374 MB / 0.7117 GB, free: 22.72 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002821/0.6302, allocations: 2.131 MB / 0.7138 GB, free: 22.52 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004131/0.6306, allocations: 266.8 kB / 0.7141 GB, free: 22.52 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006917/0.6375, allocations: 3.209 MB / 0.7172 GB, free: 22.28 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005243/0.6381, allocations: 0.6653 MB / 0.7179 GB, free: 22.13 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.6397, allocations: 1.127 MB / 0.719 GB, free: 21.99 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.008055/0.6477, allocations: 5.204 MB / 0.7241 GB, free: 21.43 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6478, allocations: 1.031 kB / 0.7241 GB, free: 21.43 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6478, allocations: 0 / 0.7241 GB, free: 21.43 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.798e-05/0.6478, allocations: 0 / 0.7241 GB, free: 21.43 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.006543/0.6544, allocations: 3.73 MB / 0.7277 GB, free: 19.75 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.6544, allocations: 8.969 kB / 0.7277 GB, free: 19.75 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.6556, allocations: 0.5989 MB / 0.7283 GB, free: 19.53 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003346/0.659, allocations: 2.219 MB / 0.7305 GB, free: 18.2 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.6591, allocations: 157.8 kB / 0.7306 GB, free: 18.13 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003334/0.6594, allocations: 220 kB / 0.7308 GB, free: 18.05 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00394/0.6634, allocations: 2.518 MB / 0.7333 GB, free: 16.48 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.281e-05/0.6634, allocations: 11.03 kB / 0.7333 GB, free: 16.47 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.6636, allocations: 89.38 kB / 0.7334 GB, free: 16.41 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.6636, allocations: 55.58 kB / 0.7334 GB, free: 16.4 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003485/0.6671, allocations: 2.267 MB / 0.7356 GB, free: 15.29 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01487/0.682, allocations: 7.582 MB / 0.743 GB, free: 9.859 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003723/0.6857, allocations: 1.609 MB / 0.7446 GB, free: 9.016 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.6872, allocations: 0.8047 MB / 0.7454 GB, free: 8.586 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007294/0.6945, allocations: 2.978 MB / 0.7483 GB, free: 6.531 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001986/0.6965, allocations: 1.039 MB / 0.7493 GB, free: 5.898 MB / 0.573 GB Notification: Performance of pre-optimization done (n=183): time 4.328e-06/0.6965, allocations: 0 / 0.7493 GB, free: 5.898 MB / 0.573 GB Notification: Performance of matching and sorting (n=184): time 0.01312/0.7096, allocations: 5.43 MB / 0.7546 GB, free: 2.777 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.814e-05/0.7097, allocations: 100.4 kB / 0.7547 GB, free: 2.676 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.712, allocations: 1.632 MB / 0.7563 GB, free: 1.801 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.7122, allocations: 56.11 kB / 0.7564 GB, free: 1.746 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.7135, allocations: 1.209 MB / 0.7575 GB, free: 0.6562 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007899/0.7143, allocations: 0.6548 MB / 0.7582 GB, free: 12 kB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006055/0.7149, allocations: 294.5 kB / 0.7585 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.7151, allocations: 305.1 kB / 0.7588 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.7167, allocations: 0.6928 MB / 0.7594 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.7184, allocations: 0.8909 MB / 0.7603 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003434/0.7219, allocations: 1.668 MB / 0.7619 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.7219, allocations: 0 / 0.7619 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006779/0.7287, allocations: 2.664 MB / 0.7645 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.7287, allocations: 29.7 kB / 0.7646 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.7287, allocations: 7.984 kB / 0.7646 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002674/0.7314, allocations: 0.6706 MB / 0.7652 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.7326, allocations: 298.6 kB / 0.7655 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02128/0.7539, allocations: 15.03 MB / 0.7802 GB, free: 8.527 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.7558, allocations: 107.5 kB / 0.7803 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/0.7561, allocations: 79.06 kB / 0.7804 GB, free: 8.348 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.001287/0.7574, allocations: 437.4 kB / 0.7808 GB, free: 7.926 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009232/0.7583, allocations: 338.2 kB / 0.7811 GB, free: 7.594 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0076/0.7659, allocations: 3.391 MB / 0.7844 GB, free: 4.266 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.7659, allocations: 23.92 kB / 0.7844 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-05/0.7659, allocations: 8 kB / 0.7845 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/0.766, allocations: 19.91 kB / 0.7845 GB, free: 4.215 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.7764, allocations: 4.551 MB / 0.7889 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.7764, allocations: 8.219 kB / 0.7889 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.7776, allocations: 280.4 kB / 0.7892 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00241/0.78, allocations: 0.5824 MB / 0.7898 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001886/0.7802, allocations: 63.97 kB / 0.7898 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/0.7971, allocations: 14.07 MB / 0.8036 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.7971, allocations: 3.469 kB / 0.8036 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00965/0.8068, allocations: 3.721 MB / 0.8072 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/0.8083, allocations: 453.8 kB / 0.8076 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/0.8086, allocations: 47.95 kB / 0.8077 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.8097, allocations: 67.89 kB / 0.8077 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004961/0.8102, allocations: 177 kB / 0.8079 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/0.8104, allocations: 75.95 kB / 0.808 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001983/0.8124, allocations: 1.144 MB / 0.8091 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.8124, allocations: 3.938 kB / 0.8091 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003523/0.8159, allocations: 0.9319 MB / 0.81 GB, free: 9.172 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.001984/0.8179, allocations: 1.023 MB / 0.811 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006387/0.8243, allocations: 2.997 MB / 0.8139 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.8243, allocations: 0 / 0.8139 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004242/0.8285, allocations: 2.161 MB / 0.8161 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004854/0.8334, allocations: 0.9134 MB / 0.8169 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.8461, allocations: 5.203 MB / 0.822 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/0.8477, allocations: 1.167 MB / 0.8232 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002213/0.85, allocations: 0.495 MB / 0.8236 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006254/0.8506, allocations: 232.4 kB / 0.8239 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of SimCode: time 1.462e-06/0.8506, allocations: 0 / 0.8239 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of Templates: time 0.1018/0.9523, allocations: 53.66 MB / 0.8763 GB, free: 6.188 MB / 0.698 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.64440549199935]