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.001587/0.001587, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001786/0.001786, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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.7302/0.7302, allocations: 94.61 MB / 407.8 MB, free: 8.914 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.002503/0.002503, allocations: 88 kB / 0.5562 GB, free: 38.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1085, allocations: 73.06 MB / 0.6275 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4941/0.6026, allocations: 198.7 MB / 0.8216 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03384/0.6364, allocations: 28.35 MB / 0.8493 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003128/0.6395, allocations: 199.1 kB / 0.8495 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004447/0.644, allocations: 1.547 MB / 0.851 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007606/0.6516, allocations: 2.692 MB / 0.8536 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006977/0.6586, allocations: 2.642 MB / 0.8562 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006353/0.6649, allocations: 4.865 MB / 0.861 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.6663, allocations: 0.6261 MB / 0.8616 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004957/0.6712, allocations: 2.493 MB / 0.864 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/0.6751, allocations: 2.184 MB / 0.8661 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006148/0.6757, allocations: 268 kB / 0.8664 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007473/0.6832, allocations: 3.175 MB / 0.8695 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008069/0.684, allocations: 0.6341 MB / 0.8701 GB, free: 448 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00236/0.6863, allocations: 1.267 MB / 0.8714 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.009541/0.6959, allocations: 4.942 MB / 0.8762 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.6959, allocations: 0 / 0.8762 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6959, allocations: 0 / 0.8762 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.482e-05/0.6959, allocations: 0 / 0.8762 GB, free: 10.21 MB / 0.6231 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.006808/0.7028, allocations: 3.59 MB / 0.8797 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.7028, allocations: 12.62 kB / 0.8797 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009984/0.7038, allocations: 386.7 kB / 0.8801 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003934/0.7077, allocations: 1.923 MB / 0.8819 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.7079, allocations: 164.1 kB / 0.8821 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003358/0.7082, allocations: 219.9 kB / 0.8823 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004334/0.7125, allocations: 2.495 MB / 0.8848 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.486e-05/0.7126, allocations: 3.938 kB / 0.8848 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.7128, allocations: 88 kB / 0.8848 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.306e-05/0.7128, allocations: 56 kB / 0.8849 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003976/0.7168, allocations: 2.258 MB / 0.8871 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.7288, allocations: 7.275 MB / 0.8942 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/0.7321, allocations: 1.61 MB / 0.8958 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.7336, allocations: 0.8059 MB / 0.8966 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006489/0.7401, allocations: 2.98 MB / 0.8995 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001882/0.742, allocations: 1.047 MB / 0.9005 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=183): time 3.818e-06/0.742, allocations: 4 kB / 0.9005 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of matching and sorting (n=184): time 0.0115/0.7535, allocations: 5.301 MB / 0.9057 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.7536, allocations: 99.11 kB / 0.9058 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.7555, allocations: 1.486 MB / 0.9072 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.7556, allocations: 57.7 kB / 0.9073 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009862/0.7566, allocations: 1.14 MB / 0.9084 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006095/0.7572, allocations: 0.6545 MB / 0.909 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004783/0.7577, allocations: 299.5 kB / 0.9093 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7578, allocations: 309.1 kB / 0.9096 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.7592, allocations: 0.6928 MB / 0.9103 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.7608, allocations: 0.8821 MB / 0.9111 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002991/0.7637, allocations: 1.654 MB / 0.9128 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.7638, allocations: 8.688 kB / 0.9128 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005349/0.7691, allocations: 2.552 MB / 0.9153 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.7691, allocations: 33.7 kB / 0.9153 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.7692, allocations: 4 kB / 0.9153 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001929/0.7711, allocations: 0.6146 MB / 0.9159 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.7722, allocations: 295.6 kB / 0.9162 GB, free: 468 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01769/0.7899, allocations: 15.01 MB / 0.9308 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.7912, allocations: 99.58 kB / 0.9309 GB, free: 448 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/0.7914, allocations: 75.97 kB / 0.931 GB, free: 372 kB / 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.0009255/0.7924, allocations: 443.1 kB / 0.9314 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00048/0.7928, allocations: 238.9 kB / 0.9316 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006476/0.7993, allocations: 3.401 MB / 0.935 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.7993, allocations: 20 kB / 0.935 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.7993, allocations: 8 kB / 0.935 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.7994, allocations: 11.91 kB / 0.935 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00856/0.8079, allocations: 4.535 MB / 0.9394 GB, free: 7.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.8079, allocations: 0 / 0.9394 GB, free: 7.629 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.809, allocations: 275.6 kB / 0.9397 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/0.8107, allocations: 0.5498 MB / 0.9402 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/0.8108, allocations: 67.97 kB / 0.9403 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0134/0.8242, allocations: 14.01 MB / 0.954 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.8242, allocations: 7.938 kB / 0.954 GB, free: 7.773 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007163/0.8314, allocations: 3.635 MB / 0.9575 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004842/0.8319, allocations: 230.5 kB / 0.9578 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.8321, allocations: 47.89 kB / 0.9578 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008706/0.833, allocations: 63.95 kB / 0.9579 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003648/0.8334, allocations: 173.7 kB / 0.958 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.8335, allocations: 75.91 kB / 0.9581 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001459/0.835, allocations: 1.053 MB / 0.9591 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.835, allocations: 0 / 0.9591 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00244/0.8374, allocations: 0.8741 MB / 0.96 GB, free: 1.551 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.001432/0.8389, allocations: 1.001 MB / 0.961 GB, free: 0.5703 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0051/0.844, allocations: 3.004 MB / 0.9639 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.844, allocations: 0 / 0.9639 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003421/0.8474, allocations: 2.161 MB / 0.966 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.8496, allocations: 0.511 MB / 0.9665 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008358/0.8579, allocations: 5.064 MB / 0.9715 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.8592, allocations: 1.118 MB / 0.9725 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006536/0.8598, allocations: 215.4 kB / 0.9728 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of SimCode: time 1.002e-06/0.8598, allocations: 0 / 0.9728 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of Templates: time 0.3777/1.238, allocations: 140.9 MB / 1.11 GB, free: 291.6 MB / 0.795 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/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: 14.322824351955205]