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.001515/0.001515, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001771/0.001771, allocations: 157.8 kB / 23.01 MB, free: 4.605 MB / 14.72 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.504/1.504, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7741/0.7741, allocations: 74.91 MB / 334.7 MB, free: 15.55 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002582/0.002582, allocations: 90.95 kB / 496.4 MB, free: 29.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1577, allocations: 73.04 MB / 0.5561 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.6333/0.7909, allocations: 198.7 MB / 0.7502 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03137/0.8223, allocations: 28.36 MB / 0.7779 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003799/0.8261, allocations: 197.4 kB / 0.778 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004735/0.8308, allocations: 1.554 MB / 0.7796 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008634/0.8395, allocations: 2.698 MB / 0.7822 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008004/0.8475, allocations: 2.646 MB / 0.7848 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007039/0.8545, allocations: 4.867 MB / 0.7895 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.8557, allocations: 0.615 MB / 0.7901 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005889/0.8616, allocations: 2.5 MB / 0.7926 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004177/0.8658, allocations: 2.17 MB / 0.7947 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00045/0.8663, allocations: 271.8 kB / 0.7949 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007594/0.8738, allocations: 3.184 MB / 0.7981 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007479/0.8746, allocations: 0.6322 MB / 0.7987 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00211/0.8767, allocations: 1.271 MB / 0.7999 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009448/0.8862, allocations: 4.934 MB / 0.8047 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.8862, allocations: 0 / 0.8047 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.816e-06/0.8862, allocations: 2.969 kB / 0.8047 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.174e-05/0.8862, allocations: 0 / 0.8047 GB, free: 1.734 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.007277/0.8935, allocations: 3.589 MB / 0.8082 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.8935, allocations: 8.625 kB / 0.8083 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.8946, allocations: 394.6 kB / 0.8086 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003814/0.8984, allocations: 1.923 MB / 0.8105 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.8985, allocations: 160.2 kB / 0.8107 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/0.8989, allocations: 219.9 kB / 0.8109 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004323/0.9032, allocations: 2.502 MB / 0.8133 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.545e-05/0.9032, allocations: 2.625 kB / 0.8133 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.9034, allocations: 84 kB / 0.8134 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/0.9035, allocations: 52 kB / 0.8134 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004084/0.9075, allocations: 2.265 MB / 0.8157 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01203/0.9196, allocations: 7.283 MB / 0.8228 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003437/0.923, allocations: 1.607 MB / 0.8243 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.9245, allocations: 0.8052 MB / 0.8251 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006348/0.9309, allocations: 2.977 MB / 0.828 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001946/0.9328, allocations: 1.038 MB / 0.829 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=183): time 4.057e-06/0.9328, allocations: 0 / 0.829 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of matching and sorting (n=184): time 0.01199/0.9448, allocations: 5.31 MB / 0.8342 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.46e-05/0.9449, allocations: 99.11 kB / 0.8343 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.9469, allocations: 1.49 MB / 0.8358 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.947, allocations: 57.7 kB / 0.8358 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.9481, allocations: 1.14 MB / 0.8369 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006136/0.9487, allocations: 0.6467 MB / 0.8376 GB, free: 144 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005236/0.9492, allocations: 291.6 kB / 0.8379 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.9493, allocations: 308.2 kB / 0.8382 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.9508, allocations: 0.7045 MB / 0.8388 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.9524, allocations: 0.8744 MB / 0.8397 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003118/0.9555, allocations: 1.663 MB / 0.8413 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.9555, allocations: 4 kB / 0.8413 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005466/0.9609, allocations: 2.554 MB / 0.8438 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.961, allocations: 37.8 kB / 0.8439 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.961, allocations: 4 kB / 0.8439 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/0.963, allocations: 0.6194 MB / 0.8445 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.9642, allocations: 296 kB / 0.8447 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/0.9834, allocations: 14.99 MB / 0.8594 GB, free: 8.859 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.9848, allocations: 103.6 kB / 0.8595 GB, free: 8.758 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/0.985, allocations: 72.52 kB / 0.8596 GB, free: 8.688 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (163): * Single equations (assignments): 153 * 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.0009727/0.9859, allocations: 441.8 kB / 0.86 GB, free: 8.266 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005172/0.9864, allocations: 242.4 kB / 0.8602 GB, free: 8.027 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006788/0.9932, allocations: 3.397 MB / 0.8635 GB, free: 4.668 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.9933, allocations: 20 kB / 0.8635 GB, free: 4.648 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.9933, allocations: 12 kB / 0.8636 GB, free: 4.637 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.9933, allocations: 8.062 kB / 0.8636 GB, free: 4.629 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008785/1.002, allocations: 4.537 MB / 0.868 GB, free: 40 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.002, allocations: 0 / 0.868 GB, free: 40 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.003, allocations: 281.2 kB / 0.8683 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/1.005, allocations: 0.5444 MB / 0.8688 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/1.005, allocations: 63.97 kB / 0.8689 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/1.02, allocations: 14.04 MB / 0.8826 GB, free: 280 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.02, allocations: 4 kB / 0.8826 GB, free: 276 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007757/1.028, allocations: 3.642 MB / 0.8861 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007626/1.028, allocations: 226.1 kB / 0.8863 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/1.029, allocations: 51.89 kB / 0.8864 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009134/1.03, allocations: 59.95 kB / 0.8864 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004609/1.03, allocations: 173.2 kB / 0.8866 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/1.03, allocations: 75.91 kB / 0.8867 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001771/1.032, allocations: 1.057 MB / 0.8877 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/1.032, allocations: 0 / 0.8877 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003453/1.035, allocations: 0.8741 MB / 0.8886 GB, free: 10.07 MB / 0.7012 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.001938/1.037, allocations: 0.9883 MB / 0.8895 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00599/1.043, allocations: 3.003 MB / 0.8925 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/1.043, allocations: 0 / 0.8925 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003954/1.047, allocations: 2.167 MB / 0.8946 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/1.05, allocations: 0.507 MB / 0.8951 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009509/1.059, allocations: 4.995 MB / 0.9 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/1.061, allocations: 1.114 MB / 0.901 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001697/1.063, allocations: 476.1 kB / 0.9015 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/1.063, allocations: 196.4 kB / 0.9017 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of SimCode: time 1.102e-06/1.063, allocations: 0 / 0.9017 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of Templates: time 0.0825/1.146, allocations: 44.85 MB / 0.9455 GB, free: 248 kB / 0.7481 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 -s ida -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/jenkins1/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.444766643107869]