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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.001306/0.001306, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001314/0.001314, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.7014/0.7014, allocations: 89.45 MB / 380.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 75.88 kB / 458.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.12, allocations: 67.3 MB / 0.5133 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4084/0.5284, allocations: 224 MB / 0.7321 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.298/0.8265, allocations: 30.74 MB / 0.7622 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002978/0.8295, allocations: 51.81 kB / 0.7622 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004241/0.8338, allocations: 1.533 MB / 0.7637 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006784/0.8406, allocations: 2.263 MB / 0.7659 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006728/0.8473, allocations: 2.403 MB / 0.7683 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006399/0.8538, allocations: 4.251 MB / 0.7724 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.8558, allocations: 0.9668 MB / 0.7734 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004927/0.8607, allocations: 2.076 MB / 0.7754 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004152/0.8649, allocations: 2.236 MB / 0.7776 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007731/0.8657, allocations: 270.6 kB / 0.7778 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009532/0.8752, allocations: 3.77 MB / 0.7815 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009979/0.8763, allocations: 0.5955 MB / 0.7821 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002486/0.8788, allocations: 1.409 MB / 0.7835 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005688/0.8845, allocations: 3.264 MB / 0.7866 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8845, allocations: 4.344 kB / 0.7867 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8845, allocations: 0 / 0.7867 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.71e-05/0.8846, allocations: 0.875 kB / 0.7867 GB, free: 16.06 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.006966/0.8916, allocations: 3.034 MB / 0.7896 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.8916, allocations: 9.5 kB / 0.7896 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006134/0.8922, allocations: 267.1 kB / 0.7899 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.894, allocations: 1.168 MB / 0.791 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.8941, allocations: 157.5 kB / 0.7912 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002805/0.8944, allocations: 225.2 kB / 0.7914 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003713/0.8981, allocations: 2.474 MB / 0.7938 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.199e-05/0.8982, allocations: 2.531 kB / 0.7938 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.8983, allocations: 89.2 kB / 0.7939 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/0.8984, allocations: 50.94 kB / 0.7939 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003289/0.9017, allocations: 2.225 MB / 0.7961 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01292/0.9146, allocations: 11.05 MB / 0.8069 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/0.9177, allocations: 1.759 MB / 0.8086 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.919, allocations: 0.9074 MB / 0.8095 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007774/0.9268, allocations: 6.551 MB / 0.8159 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001693/0.9285, allocations: 1.046 MB / 0.8169 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=183): time 3.617e-06/0.9285, allocations: 0.875 kB / 0.8169 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of matching and sorting (n=184): time 0.01152/0.94, allocations: 5.841 MB / 0.8226 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.9401, allocations: 106.4 kB / 0.8227 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.9417, allocations: 1.314 MB / 0.824 GB, free: 428 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.9419, allocations: 59.7 kB / 0.8241 GB, free: 396 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006148/0.9425, allocations: 0.817 MB / 0.8249 GB, free: 24 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006059/0.9431, allocations: 0.6179 MB / 0.8255 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004651/0.9436, allocations: 293.4 kB / 0.8257 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.9437, allocations: 301.1 kB / 0.826 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.9449, allocations: 0.6747 MB / 0.8267 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.9463, allocations: 0.8548 MB / 0.8275 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002866/0.9492, allocations: 1.663 MB / 0.8292 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.9492, allocations: 0 / 0.8292 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005543/0.9548, allocations: 2.49 MB / 0.8316 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.16e-05/0.9549, allocations: 37.7 kB / 0.8316 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.9549, allocations: 7.938 kB / 0.8316 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/0.957, allocations: 0.6266 MB / 0.8322 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.9582, allocations: 294.5 kB / 0.8325 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/0.9772, allocations: 16.24 MB / 0.8484 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.9792, allocations: 143.2 kB / 0.8485 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/0.9795, allocations: 75.97 kB / 0.8486 GB, free: 8.91 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.0009807/0.9805, allocations: 395.4 kB / 0.849 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004723/0.981, allocations: 197.8 kB / 0.8492 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006842/0.9878, allocations: 3.408 MB / 0.8525 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.9878, allocations: 20 kB / 0.8525 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/0.9879, allocations: 9.688 kB / 0.8525 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.541e-05/0.9879, allocations: 11.91 kB / 0.8525 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009649/0.9976, allocations: 4.978 MB / 0.8574 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.9976, allocations: 4 kB / 0.8574 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.9987, allocations: 282.5 kB / 0.8577 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/1.001, allocations: 0.5596 MB / 0.8582 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001929/1.001, allocations: 63.97 kB / 0.8583 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/1.015, allocations: 15.26 MB / 0.8732 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.015, allocations: 6.938 kB / 0.8732 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007501/1.023, allocations: 3.625 MB / 0.8767 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007616/1.024, allocations: 278.4 kB / 0.877 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003747/1.024, allocations: 55.14 kB / 0.877 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.025, allocations: 111.7 kB / 0.8771 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000419/1.026, allocations: 180.7 kB / 0.8773 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/1.026, allocations: 67.97 kB / 0.8774 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001452/1.027, allocations: 0.9713 MB / 0.8783 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/1.027, allocations: 0 / 0.8783 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002811/1.03, allocations: 0.8825 MB / 0.8792 GB, free: 8.441 MB / 0.6544 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.001695/1.032, allocations: 1.003 MB / 0.8802 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006765/1.039, allocations: 3.248 MB / 0.8833 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.039, allocations: 0 / 0.8833 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00371/1.042, allocations: 2.237 MB / 0.8855 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003934/1.046, allocations: 0.7799 MB / 0.8863 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008278/1.055, allocations: 5.234 MB / 0.8914 GB, free: 11.98 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/1.056, allocations: 1.487 MB / 0.8929 GB, free: 10.45 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007364/1.057, allocations: 199.4 kB / 0.893 GB, free: 10.26 MB / 0.67 GB Notification: Performance of SimCode: time 5.91e-07/1.057, allocations: 2.531 kB / 0.893 GB, free: 10.26 MB / 0.67 GB Notification: Performance of Templates: time 0.1301/1.187, allocations: 119.2 MB / 1.009 GB, free: 3.305 MB / 0.7794 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