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.001/0.0009999, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007767/0.007767, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6615/0.6615, allocations: 91.32 MB / 382.7 MB, free: 9.629 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003945, allocations: 14.56 kB / 462.7 MB, free: 23.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1204, allocations: 69.21 MB / 0.5195 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4871/0.6076, allocations: 222.1 MB / 0.7364 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03632/0.6439, allocations: 30.92 MB / 0.7666 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003905/0.6479, allocations: 146.9 kB / 0.7667 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004602/0.6525, allocations: 1.551 MB / 0.7682 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007374/0.6599, allocations: 2.405 MB / 0.7706 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006503/0.6664, allocations: 2.328 MB / 0.7728 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006706/0.6731, allocations: 5.555 MB / 0.7783 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.6747, allocations: 0.9526 MB / 0.7792 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004076/0.6788, allocations: 2.037 MB / 0.7812 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003164/0.6819, allocations: 2.113 MB / 0.7832 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004/0.6824, allocations: 104 kB / 0.7833 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007733/0.6901, allocations: 3.567 MB / 0.7868 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006729/0.6908, allocations: 453.6 kB / 0.7873 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001923/0.6927, allocations: 1.373 MB / 0.7886 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007647/0.7004, allocations: 4.454 MB / 0.7929 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.7004, allocations: 7.938 kB / 0.7929 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7004, allocations: 0 / 0.7929 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.936e-05/0.7005, allocations: 0 / 0.7929 GB, free: 15.06 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.00595/0.7065, allocations: 3.028 MB / 0.7959 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.7065, allocations: 12.03 kB / 0.7959 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004598/0.707, allocations: 332.9 kB / 0.7962 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/0.7099, allocations: 1.797 MB / 0.798 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.71, allocations: 160.2 kB / 0.7981 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000321/0.7103, allocations: 219.8 kB / 0.7984 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004304/0.7146, allocations: 2.487 MB / 0.8008 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.7147, allocations: 0 / 0.8008 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/0.7149, allocations: 84 kB / 0.8009 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/0.7149, allocations: 55.94 kB / 0.8009 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004016/0.719, allocations: 2.242 MB / 0.8031 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2783/0.9972, allocations: 11.26 MB / 0.8141 GB, free: 219.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003722/1.001, allocations: 1.782 MB / 0.8158 GB, free: 218.9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/1.003, allocations: 0.9152 MB / 0.8167 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007714/1.01, allocations: 6.552 MB / 0.8231 GB, free: 212.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001815/1.012, allocations: 1.052 MB / 0.8242 GB, free: 212.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=183): time 4.638e-06/1.012, allocations: 0 / 0.8242 GB, free: 212.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=184): time 0.01166/1.024, allocations: 6.142 MB / 0.8302 GB, free: 208.9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/1.024, allocations: 104.9 kB / 0.8303 GB, free: 208.9 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/1.027, allocations: 1.833 MB / 0.8321 GB, free: 208.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002545/1.027, allocations: 56.58 kB / 0.8321 GB, free: 208.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007622/1.028, allocations: 1.075 MB / 0.8332 GB, free: 207.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005282/1.028, allocations: 0.6162 MB / 0.8338 GB, free: 206.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/1.029, allocations: 134.5 kB / 0.8339 GB, free: 206.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.235e-05/1.029, allocations: 310.1 kB / 0.8342 GB, free: 206.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/1.03, allocations: 0.6777 MB / 0.8348 GB, free: 206.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/1.031, allocations: 0.8643 MB / 0.8357 GB, free: 205.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002917/1.034, allocations: 1.688 MB / 0.8373 GB, free: 204.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.034, allocations: 1.219 kB / 0.8373 GB, free: 204.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005609/1.04, allocations: 2.571 MB / 0.8398 GB, free: 203.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.455e-05/1.04, allocations: 36.27 kB / 0.8399 GB, free: 203.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.04, allocations: 13.16 kB / 0.8399 GB, free: 203.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/1.042, allocations: 0.6192 MB / 0.8405 GB, free: 203.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/1.043, allocations: 299.1 kB / 0.8408 GB, free: 203.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/1.056, allocations: 15.13 MB / 0.8556 GB, free: 189.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/1.058, allocations: 158.4 kB / 0.8557 GB, free: 189.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/1.058, allocations: 74.62 kB / 0.8558 GB, free: 189.7 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.0008778/1.059, allocations: 427.3 kB / 0.8562 GB, free: 189.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/1.06, allocations: 258.9 kB / 0.8564 GB, free: 189.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005604/1.065, allocations: 3.478 MB / 0.8598 GB, free: 187.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.065, allocations: 23.61 kB / 0.8599 GB, free: 187.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.065, allocations: 7.875 kB / 0.8599 GB, free: 187.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/1.065, allocations: 16.75 kB / 0.8599 GB, free: 187.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00765/1.073, allocations: 5.19 MB / 0.8649 GB, free: 183.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.073, allocations: 0 / 0.8649 GB, free: 183.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009705/1.074, allocations: 296.7 kB / 0.8652 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/1.076, allocations: 0.5419 MB / 0.8658 GB, free: 183.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/1.076, allocations: 67.67 kB / 0.8658 GB, free: 183.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008809/1.085, allocations: 14.08 MB / 0.8796 GB, free: 169.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.085, allocations: 7.281 kB / 0.8796 GB, free: 169.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006388/1.091, allocations: 3.733 MB / 0.8832 GB, free: 167 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007751/1.092, allocations: 365.3 kB / 0.8836 GB, free: 166.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003742/1.092, allocations: 40 kB / 0.8836 GB, free: 166.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/1.094, allocations: 119.8 kB / 0.8837 GB, free: 166.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003352/1.094, allocations: 173.7 kB / 0.8839 GB, free: 166.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/1.094, allocations: 76.14 kB / 0.884 GB, free: 166.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001445/1.095, allocations: 1.305 MB / 0.8852 GB, free: 164.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/1.095, allocations: 0 / 0.8852 GB, free: 164.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002534/1.098, allocations: 0.8848 MB / 0.8861 GB, free: 164 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.001369/1.099, allocations: 1.111 MB / 0.8872 GB, free: 163 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004486/1.104, allocations: 3.086 MB / 0.8902 GB, free: 159.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/1.104, allocations: 4 kB / 0.8902 GB, free: 159.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002829/1.107, allocations: 2.259 MB / 0.8924 GB, free: 157.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004832/1.112, allocations: 0.7759 MB / 0.8932 GB, free: 156.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007109/1.119, allocations: 6.115 MB / 0.8991 GB, free: 150.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009031/1.12, allocations: 1.678 MB / 0.9008 GB, free: 148.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001731/1.121, allocations: 0.5099 MB / 0.9013 GB, free: 148.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/1.122, allocations: 219.4 kB / 0.9015 GB, free: 148.2 MB / 0.6075 GB Notification: Performance of SimCode: time 9.72e-07/1.122, allocations: 0 / 0.9015 GB, free: 148.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.06499/1.187, allocations: 49.09 MB / 0.9494 GB, free: 99.44 MB / 0.6075 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches