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.00132/0.00132, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001445/0.001445, allocations: 224.4 kB / 23 MB, free: 4.914 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 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 0.7676/0.7676, allocations: 100.9 MB / 414.1 MB, free: 2.879 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: 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.002532/0.002532, allocations: 85.73 kB / 0.5653 GB, free: 35.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1162, allocations: 74.62 MB / 0.6382 GB, free: 5.977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.513/0.6293, allocations: 198.7 MB / 0.8323 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03581/0.6651, allocations: 28.36 MB / 0.86 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003203/0.6683, allocations: 202.5 kB / 0.8601 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004114/0.6724, allocations: 1.549 MB / 0.8617 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00733/0.6797, allocations: 2.681 MB / 0.8643 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00701/0.6867, allocations: 2.647 MB / 0.8669 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006483/0.6932, allocations: 4.863 MB / 0.8716 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.6945, allocations: 0.6082 MB / 0.8722 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004979/0.6994, allocations: 2.502 MB / 0.8747 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003265/0.7027, allocations: 2.171 MB / 0.8768 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004495/0.7032, allocations: 268 kB / 0.877 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006955/0.7101, allocations: 3.182 MB / 0.8801 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006421/0.7108, allocations: 0.6302 MB / 0.8808 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.7124, allocations: 1.275 MB / 0.882 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007932/0.7203, allocations: 4.935 MB / 0.8868 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.7203, allocations: 4 kB / 0.8868 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7203, allocations: 0 / 0.8868 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.474e-05/0.7204, allocations: 0 / 0.8868 GB, free: 12.65 MB / 0.6387 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.006701/0.7271, allocations: 3.594 MB / 0.8903 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.7271, allocations: 10.06 kB / 0.8903 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009659/0.7281, allocations: 382.7 kB / 0.8907 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/0.7319, allocations: 1.931 MB / 0.8926 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.7321, allocations: 160.2 kB / 0.8927 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/0.7324, allocations: 219.9 kB / 0.893 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004287/0.7367, allocations: 2.503 MB / 0.8954 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/0.7367, allocations: 0 / 0.8954 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.7369, allocations: 88 kB / 0.8955 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.554e-05/0.737, allocations: 52 kB / 0.8955 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004016/0.741, allocations: 2.261 MB / 0.8977 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.7533, allocations: 7.278 MB / 0.9048 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/0.7568, allocations: 1.62 MB / 0.9064 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.7584, allocations: 0.8084 MB / 0.9072 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006638/0.765, allocations: 2.976 MB / 0.9101 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001928/0.767, allocations: 1.04 MB / 0.9111 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=183): time 4.088e-06/0.767, allocations: 0 / 0.9111 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of matching and sorting (n=184): time 0.0121/0.7791, allocations: 5.313 MB / 0.9163 GB, free: 13.92 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/0.7792, allocations: 99.11 kB / 0.9164 GB, free: 13.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.7812, allocations: 1.49 MB / 0.9179 GB, free: 12.28 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.7813, allocations: 61.7 kB / 0.9179 GB, free: 12.21 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.7823, allocations: 1.143 MB / 0.9191 GB, free: 11.05 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000603/0.7829, allocations: 0.6545 MB / 0.9197 GB, free: 10.39 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004936/0.7834, allocations: 287.5 kB / 0.92 GB, free: 10.11 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7836, allocations: 309.1 kB / 0.9203 GB, free: 9.801 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.785, allocations: 0.6967 MB / 0.9209 GB, free: 9.098 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.7866, allocations: 0.8744 MB / 0.9218 GB, free: 8.176 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003152/0.7897, allocations: 1.666 MB / 0.9234 GB, free: 6.461 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.7897, allocations: 7.984 kB / 0.9234 GB, free: 6.453 MB / 0.67 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005579/0.7953, allocations: 2.548 MB / 0.9259 GB, free: 3.855 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.374e-05/0.7954, allocations: 33.7 kB / 0.9259 GB, free: 3.816 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.7954, allocations: 4 kB / 0.926 GB, free: 3.812 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002072/0.7975, allocations: 0.6236 MB / 0.9266 GB, free: 3.164 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.7986, allocations: 295.6 kB / 0.9268 GB, free: 2.875 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/0.8171, allocations: 15 MB / 0.9415 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.8185, allocations: 99.58 kB / 0.9416 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/0.8188, allocations: 67.98 kB / 0.9417 GB, free: 2.801 MB / 0.6856 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.0009825/0.8197, allocations: 437.4 kB / 0.9421 GB, free: 2.363 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005739/0.8203, allocations: 238.5 kB / 0.9423 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006837/0.8272, allocations: 3.392 MB / 0.9456 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.8272, allocations: 23.83 kB / 0.9456 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.8272, allocations: 8 kB / 0.9456 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.8272, allocations: 7.969 kB / 0.9456 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00925/0.8365, allocations: 4.528 MB / 0.9501 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.8365, allocations: 0 / 0.9501 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.8375, allocations: 287.5 kB / 0.9503 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001804/0.8393, allocations: 0.5365 MB / 0.9509 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/0.8395, allocations: 63.97 kB / 0.9509 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/0.8537, allocations: 14.04 MB / 0.9646 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-06/0.8537, allocations: 4 kB / 0.9646 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007442/0.8612, allocations: 3.635 MB / 0.9682 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005284/0.8617, allocations: 230.2 kB / 0.9684 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/0.862, allocations: 51.83 kB / 0.9685 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00091/0.8629, allocations: 59.95 kB / 0.9685 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003916/0.8633, allocations: 177.6 kB / 0.9687 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.8634, allocations: 79.94 kB / 0.9688 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001547/0.865, allocations: 1.057 MB / 0.9698 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.865, allocations: 3.938 kB / 0.9698 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002579/0.8676, allocations: 0.8741 MB / 0.9707 GB, free: 3.973 MB / 0.7169 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.001504/0.8691, allocations: 0.9819 MB / 0.9716 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005354/0.8744, allocations: 3.004 MB / 0.9746 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.8744, allocations: 4 kB / 0.9746 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003618/0.878, allocations: 2.158 MB / 0.9767 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.8804, allocations: 0.5079 MB / 0.9772 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00869/0.8891, allocations: 5.057 MB / 0.9821 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/0.8904, allocations: 1.114 MB / 0.9832 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006713/0.8911, allocations: 219.4 kB / 0.9834 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/0.8911, allocations: 4 kB / 0.9834 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of Templates: time 0.3764/1.267, allocations: 140.9 MB / 1.121 GB, free: 270.2 MB / 0.795 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/jenkins1/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: 14.126677378080785]