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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 193.2 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6704/0.6704, allocations: 93.71 MB / 383.7 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 77.5 kB / 462.7 MB, free: 22.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1047, allocations: 68.27 MB / 0.5185 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4266/0.5313, allocations: 225.2 MB / 0.7385 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0355/0.5669, allocations: 31.39 MB / 0.7691 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/0.5706, allocations: 174.9 kB / 0.7693 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004426/0.575, allocations: 1.539 MB / 0.7708 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007279/0.5823, allocations: 2.455 MB / 0.7732 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00659/0.5889, allocations: 2.325 MB / 0.7754 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006594/0.5956, allocations: 5.641 MB / 0.781 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.5973, allocations: 0.9827 MB / 0.7819 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004364/0.6016, allocations: 2.205 MB / 0.7841 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003089/0.6047, allocations: 2.273 MB / 0.7863 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005194/0.6053, allocations: 172 kB / 0.7864 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007552/0.6128, allocations: 3.637 MB / 0.79 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007251/0.6136, allocations: 0.5366 MB / 0.7905 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001954/0.6156, allocations: 1.472 MB / 0.792 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007346/0.6229, allocations: 4.58 MB / 0.7964 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.623, allocations: 4 kB / 0.7964 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.623, allocations: 0 / 0.7964 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.816e-05/0.623, allocations: 0 / 0.7964 GB, free: 14.5 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.006905/0.63, allocations: 3.564 MB / 0.7999 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.63, allocations: 12.03 kB / 0.7999 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/0.6306, allocations: 336.8 kB / 0.8003 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/0.6336, allocations: 1.833 MB / 0.802 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.6337, allocations: 156.2 kB / 0.8022 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.6341, allocations: 215.9 kB / 0.8024 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004329/0.6384, allocations: 2.479 MB / 0.8048 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.999e-05/0.6385, allocations: 4 kB / 0.8048 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.6386, allocations: 87.98 kB / 0.8049 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.955e-05/0.6387, allocations: 52 kB / 0.805 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00397/0.6427, allocations: 2.226 MB / 0.8071 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0134/0.6561, allocations: 11.24 MB / 0.8181 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003511/0.6596, allocations: 1.768 MB / 0.8198 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.6612, allocations: 0.8983 MB / 0.8207 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2128/0.874, allocations: 6.524 MB / 0.8271 GB, free: 237.6 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001886/0.8759, allocations: 1.05 MB / 0.8281 GB, free: 237.2 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=183): time 3.788e-06/0.876, allocations: 0 / 0.8281 GB, free: 237.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=184): time 0.01178/0.8878, allocations: 6.101 MB / 0.8341 GB, free: 233.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.8878, allocations: 101.1 kB / 0.8342 GB, free: 233.8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.8902, allocations: 1.879 MB / 0.836 GB, free: 233.1 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002223/0.8904, allocations: 56.86 kB / 0.8361 GB, free: 233.1 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006991/0.8911, allocations: 1.086 MB / 0.8371 GB, free: 232.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004502/0.8916, allocations: 0.6225 MB / 0.8377 GB, free: 231.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000467/0.8921, allocations: 292.5 kB / 0.838 GB, free: 231.6 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 3.661e-05/0.8921, allocations: 309 kB / 0.8383 GB, free: 231.3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.8934, allocations: 0.6693 MB / 0.8389 GB, free: 231 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.8948, allocations: 0.8584 MB / 0.8398 GB, free: 230.6 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002733/0.8975, allocations: 1.664 MB / 0.8414 GB, free: 229.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.8975, allocations: 1.094 kB / 0.8414 GB, free: 229.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005188/0.9027, allocations: 2.554 MB / 0.8439 GB, free: 228.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.9028, allocations: 34.72 kB / 0.8439 GB, free: 228.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.9028, allocations: 4.625 kB / 0.8439 GB, free: 228.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/0.9048, allocations: 0.6148 MB / 0.8445 GB, free: 228.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.906, allocations: 297.5 kB / 0.8448 GB, free: 228.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/0.9201, allocations: 15.04 MB / 0.8595 GB, free: 214.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.9218, allocations: 142.7 kB / 0.8597 GB, free: 214.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/0.922, allocations: 82.55 kB / 0.8597 GB, free: 214.8 MB / 0.6231 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.0009161/0.923, allocations: 423 kB / 0.8601 GB, free: 214.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004693/0.9234, allocations: 260.3 kB / 0.8604 GB, free: 214.4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006033/0.9295, allocations: 3.474 MB / 0.8638 GB, free: 212.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.009e-05/0.9295, allocations: 20.56 kB / 0.8638 GB, free: 212.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/0.9296, allocations: 7.969 kB / 0.8638 GB, free: 212.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/0.9296, allocations: 9.516 kB / 0.8638 GB, free: 212.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008463/0.9381, allocations: 5.177 MB / 0.8689 GB, free: 210 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.9381, allocations: 6.156 kB / 0.8689 GB, free: 210 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.9392, allocations: 288 kB / 0.8691 GB, free: 210 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001696/0.9409, allocations: 0.5449 MB / 0.8697 GB, free: 209.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.9411, allocations: 67.52 kB / 0.8697 GB, free: 209.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008776/0.9499, allocations: 14.06 MB / 0.8835 GB, free: 196 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.9499, allocations: 3.969 kB / 0.8835 GB, free: 196 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006338/0.9562, allocations: 3.706 MB / 0.8871 GB, free: 193.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/0.9569, allocations: 333.1 kB / 0.8874 GB, free: 193.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003539/0.9572, allocations: 43.75 kB / 0.8875 GB, free: 193.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.9584, allocations: 118.7 kB / 0.8876 GB, free: 193.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003745/0.9588, allocations: 172.9 kB / 0.8877 GB, free: 193.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/0.959, allocations: 75.34 kB / 0.8878 GB, free: 193.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001593/0.9606, allocations: 1.327 MB / 0.8891 GB, free: 192.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9606, allocations: 3.438 kB / 0.8891 GB, free: 192.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002655/0.9632, allocations: 0.8972 MB / 0.89 GB, free: 192.5 MB / 0.6231 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 (158): * Single equations (assignments): 147 * 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.001364/0.9646, allocations: 1.008 MB / 0.891 GB, free: 192.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00441/0.969, allocations: 3.065 MB / 0.894 GB, free: 189.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/0.9691, allocations: 0 / 0.894 GB, free: 189.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002819/0.9719, allocations: 2.251 MB / 0.8962 GB, free: 187.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003668/0.9756, allocations: 0.7898 MB / 0.8969 GB, free: 186.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007113/0.9827, allocations: 5.986 MB / 0.9028 GB, free: 180.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008825/0.9836, allocations: 1.691 MB / 0.9044 GB, free: 178.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001658/0.9853, allocations: 0.5254 MB / 0.9049 GB, free: 178.1 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004915/0.9858, allocations: 223.4 kB / 0.9051 GB, free: 177.9 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.9858, allocations: 0 / 0.9051 GB, free: 177.9 MB / 0.6231 GB Notification: Performance of Templates: time 0.06333/1.049, allocations: 49.67 MB / 0.9537 GB, free: 128.6 MB / 0.6231 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile (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) 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) Reference file matches