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.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_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_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.0008427/0.0008427, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008936/0.0008937, allocations: 176.9 kB / 16.92 MB, free: 6.652 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.349/1.349, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6377/0.6377, allocations: 89.65 MB / 381.7 MB, free: 11.28 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003495, allocations: 12 kB / 461.3 MB, free: 24.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1071, allocations: 68.83 MB / 0.5177 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4309/0.538, allocations: 221.1 MB / 0.7336 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03265/0.5707, allocations: 30.59 MB / 0.7635 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002495/0.5732, allocations: 47.75 kB / 0.7635 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003819/0.577, allocations: 1.508 MB / 0.765 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006153/0.5832, allocations: 2.273 MB / 0.7672 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005994/0.5892, allocations: 2.328 MB / 0.7695 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005671/0.5949, allocations: 5.104 MB / 0.7745 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.5964, allocations: 0.8766 MB / 0.7753 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003444/0.5999, allocations: 1.785 MB / 0.7771 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.6027, allocations: 2.02 MB / 0.779 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003142/0.603, allocations: 104 kB / 0.7791 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007055/0.6101, allocations: 3.571 MB / 0.7826 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005873/0.6107, allocations: 421.9 kB / 0.783 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001892/0.6126, allocations: 1.222 MB / 0.7842 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004671/0.6173, allocations: 3.176 MB / 0.7873 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6173, allocations: 4 kB / 0.7873 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6173, allocations: 0 / 0.7873 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.151e-05/0.6174, allocations: 0 / 0.7873 GB, free: 6.602 MB / 0.5919 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.005543/0.6229, allocations: 2.604 MB / 0.7899 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.623, allocations: 8.031 kB / 0.7899 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004315/0.6234, allocations: 265.8 kB / 0.7901 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.6251, allocations: 1.175 MB / 0.7913 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.6253, allocations: 160.5 kB / 0.7914 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/0.6256, allocations: 219.8 kB / 0.7916 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00401/0.6296, allocations: 2.483 MB / 0.7941 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/0.6297, allocations: 4 kB / 0.7941 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.6298, allocations: 84 kB / 0.7941 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/0.6299, allocations: 52 kB / 0.7942 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003835/0.6337, allocations: 2.25 MB / 0.7964 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01336/0.6471, allocations: 11.09 MB / 0.8072 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2739/0.9211, allocations: 1.764 MB / 0.8089 GB, free: 147.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002438/0.9236, allocations: 0.9198 MB / 0.8098 GB, free: 147.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008697/0.9323, allocations: 6.567 MB / 0.8163 GB, free: 142.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002217/0.9346, allocations: 1.053 MB / 0.8173 GB, free: 142.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=183): time 5.952e-06/0.9346, allocations: 3.094 kB / 0.8173 GB, free: 142.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=184): time 0.01209/0.9467, allocations: 5.897 MB / 0.8231 GB, free: 140.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.9468, allocations: 100.5 kB / 0.8231 GB, free: 140.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.9489, allocations: 1.32 MB / 0.8244 GB, free: 140.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002072/0.9491, allocations: 56.23 kB / 0.8245 GB, free: 140.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006077/0.9498, allocations: 0.8119 MB / 0.8253 GB, free: 140.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005615/0.9503, allocations: 0.6159 MB / 0.8259 GB, free: 139.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.9506, allocations: 130.8 kB / 0.826 GB, free: 139.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.927e-05/0.9506, allocations: 304.6 kB / 0.8263 GB, free: 139.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.9521, allocations: 0.6815 MB / 0.827 GB, free: 139.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.954, allocations: 0.8618 MB / 0.8278 GB, free: 139.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003237/0.9573, allocations: 1.687 MB / 0.8295 GB, free: 139.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/0.9573, allocations: 2.062 kB / 0.8295 GB, free: 139.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005586/0.9629, allocations: 2.513 MB / 0.8319 GB, free: 138 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.963, allocations: 35.77 kB / 0.8319 GB, free: 138 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.963, allocations: 3.406 kB / 0.8319 GB, free: 138 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/0.9651, allocations: 0.6249 MB / 0.8326 GB, free: 137.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.9662, allocations: 307.2 kB / 0.8328 GB, free: 137.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/0.9797, allocations: 15.14 MB / 0.8476 GB, free: 124.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.9813, allocations: 149.2 kB / 0.8478 GB, free: 124.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003489/0.9817, allocations: 76.81 kB / 0.8479 GB, free: 124.3 MB / 0.6075 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.001024/0.9827, allocations: 402.5 kB / 0.8482 GB, free: 124.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004196/0.9832, allocations: 193.3 kB / 0.8484 GB, free: 124 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006075/0.9893, allocations: 3.429 MB / 0.8518 GB, free: 122.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.9893, allocations: 20.66 kB / 0.8518 GB, free: 122.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.822e-05/0.9893, allocations: 8.281 kB / 0.8518 GB, free: 122.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.45e-05/0.9894, allocations: 8.531 kB / 0.8518 GB, free: 122.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008101/0.9975, allocations: 5.017 MB / 0.8567 GB, free: 120 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.9975, allocations: 2.219 kB / 0.8567 GB, free: 120 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009699/0.9985, allocations: 291.2 kB / 0.857 GB, free: 119.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/1, allocations: 0.5446 MB / 0.8575 GB, free: 119.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/1, allocations: 71.03 kB / 0.8576 GB, free: 119.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008706/1.009, allocations: 14.08 MB / 0.8713 GB, free: 106 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.009, allocations: 3.938 kB / 0.8713 GB, free: 106 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006112/1.015, allocations: 3.671 MB / 0.8749 GB, free: 103.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006046/1.016, allocations: 301.5 kB / 0.8752 GB, free: 103.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000446/1.016, allocations: 51.77 kB / 0.8753 GB, free: 103.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.018, allocations: 115.2 kB / 0.8754 GB, free: 103.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003481/1.018, allocations: 172 kB / 0.8755 GB, free: 103.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/1.018, allocations: 86.33 kB / 0.8756 GB, free: 103.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001211/1.019, allocations: 0.9662 MB / 0.8766 GB, free: 102.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/1.019, allocations: 3.469 kB / 0.8766 GB, free: 102.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002743/1.022, allocations: 0.8756 MB / 0.8774 GB, free: 102.8 MB / 0.6075 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.001406/1.023, allocations: 1.098 MB / 0.8785 GB, free: 102.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004411/1.028, allocations: 3.089 MB / 0.8815 GB, free: 99.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/1.028, allocations: 4 kB / 0.8815 GB, free: 99.49 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002722/1.031, allocations: 2.253 MB / 0.8837 GB, free: 97.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004075/1.035, allocations: 0.723 MB / 0.8844 GB, free: 96.46 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006304/1.041, allocations: 5.421 MB / 0.8897 GB, free: 91.01 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007451/1.042, allocations: 1.483 MB / 0.8912 GB, free: 89.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006581/1.043, allocations: 203.4 kB / 0.8914 GB, free: 89.29 MB / 0.6075 GB Notification: Performance of SimCode: time 6.91e-07/1.043, allocations: 4 kB / 0.8914 GB, free: 89.29 MB / 0.6075 GB Notification: Performance of Templates: time 0.09402/1.137, allocations: 118.9 MB / 1.007 GB, free: 2.621 MB / 0.6387 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile (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) 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) Reference file matches