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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008886/0.0008887, allocations: 85.34 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.009438/0.009438, allocations: 1.556 MB / 338 MB, free: 8.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.547/0.547, allocations: 90.04 MB / 479.3 MB, free: 2.977 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.126e-05/4.151e-05, allocations: 4 kB / 0.5445 GB, free: 7.992 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1394, allocations: 69.37 MB / 0.6122 GB, free: 2.535 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.108/1.247, allocations: 445.5 MB / 1.047 GB, free: 5.375 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/1.248, allocations: 92.45 kB / 1.047 GB, free: 5.328 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.446/3.694, allocations: 0.5985 GB / 1.646 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.415e-06/3.694, allocations: 3.938 kB / 1.646 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002916/3.694, allocations: 69.86 kB / 1.646 GB, free: 52.52 MB / 0.6042 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.01057/3.705, allocations: 2.794 MB / 1.649 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/3.705, allocations: 17.83 kB / 1.649 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/3.707, allocations: 287.9 kB / 1.649 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00338/3.71, allocations: 1.15 MB / 1.65 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/3.71, allocations: 156.9 kB / 1.65 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008933/3.711, allocations: 216.3 kB / 1.65 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006587/3.718, allocations: 2.383 MB / 1.653 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.428e-05/3.718, allocations: 0.6875 kB / 1.653 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000384/3.718, allocations: 77.84 kB / 1.653 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/3.719, allocations: 72.52 kB / 1.653 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004332/3.723, allocations: 2.192 MB / 1.655 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01797/3.741, allocations: 12.07 MB / 1.667 GB, free: 43.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004009/3.745, allocations: 2.502 MB / 1.669 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/3.747, allocations: 1.044 MB / 1.67 GB, free: 42.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01193/3.759, allocations: 6.642 MB / 1.677 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0024/3.761, allocations: 1.146 MB / 1.678 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=211): time 1.223e-05/3.761, allocations: 0 / 1.678 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=212): time 0.01102/3.772, allocations: 4.098 MB / 1.682 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/3.772, allocations: 104.2 kB / 1.682 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/3.774, allocations: 0.8355 MB / 1.683 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003534/3.775, allocations: 58.8 kB / 1.683 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008349/3.775, allocations: 0.7767 MB / 1.684 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009843/3.776, allocations: 0.7148 MB / 1.684 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/3.777, allocations: 36.62 kB / 1.684 GB, free: 35.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001944/3.777, allocations: 370.1 kB / 1.685 GB, free: 35.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/3.778, allocations: 0.7429 MB / 1.685 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/3.78, allocations: 0.9213 MB / 1.686 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/3.782, allocations: 0.8868 MB / 1.687 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/3.782, allocations: 0 / 1.687 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005905/3.788, allocations: 2.581 MB / 1.69 GB, free: 33.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/3.788, allocations: 32.48 kB / 1.69 GB, free: 33.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/3.788, allocations: 3.969 kB / 1.69 GB, free: 33.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001991/3.79, allocations: 0.6186 MB / 1.69 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/3.791, allocations: 277.8 kB / 1.691 GB, free: 33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008802/3.8, allocations: 11.37 MB / 1.702 GB, free: 22.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/3.802, allocations: 185.9 kB / 1.702 GB, free: 22.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005925/3.803, allocations: 79.42 kB / 1.702 GB, free: 22.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 2 {3 18,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0008617/3.804, allocations: 194.5 kB / 1.702 GB, free: 21.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008356/3.805, allocations: 168.5 kB / 1.702 GB, free: 21.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007995/3.813, allocations: 3.13 MB / 1.705 GB, free: 20.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.294e-05/3.813, allocations: 34.09 kB / 1.705 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.964e-05/3.813, allocations: 7.875 kB / 1.705 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.073e-05/3.813, allocations: 13.78 kB / 1.705 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/3.825, allocations: 5.443 MB / 1.711 GB, free: 18.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/3.826, allocations: 3.875 kB / 1.711 GB, free: 18.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/3.827, allocations: 302 kB / 1.711 GB, free: 18.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/3.829, allocations: 0.5392 MB / 1.712 GB, free: 17.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002651/3.829, allocations: 81.02 kB / 1.712 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/3.841, allocations: 14.17 MB / 1.725 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/3.841, allocations: 3.875 kB / 1.725 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/3.852, allocations: 4.094 MB / 1.729 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/3.853, allocations: 266 kB / 1.73 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008277/3.854, allocations: 44 kB / 1.73 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002325/3.857, allocations: 141.1 kB / 1.73 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007212/3.857, allocations: 201.9 kB / 1.73 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003969/3.858, allocations: 85.53 kB / 1.73 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001222/3.859, allocations: 0.6481 MB / 1.731 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.8e-07/3.859, allocations: 0 / 1.731 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005533/3.865, allocations: 0.9748 MB / 1.732 GB, free: 16.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.outlet.m_flow,source1.outlet.m_flow,boundary_rear3.fore.m_flow,connectRearOutlet1.outlet.m_flow,flowResistance2.rear.m_flow,boundary_fore5.rear.m_flow,sink3.inlet.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 8,(3,77.8%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005348/3.87, allocations: 2.024 MB / 1.734 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007551/3.878, allocations: 3.221 MB / 1.737 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/3.878, allocations: 3.938 kB / 1.737 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.005069/3.883, allocations: 2.63 MB / 1.739 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/3.887, allocations: 0.4947 MB / 1.74 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009314/3.896, allocations: 3.578 MB / 1.743 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/3.898, allocations: 1.547 MB / 1.745 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002446/3.901, allocations: 388.9 kB / 1.745 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007566/3.901, allocations: 165.3 kB / 1.745 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of SimCode: time 1.663e-06/3.901, allocations: 0 / 1.745 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of Templates: time 0.5938/4.495, allocations: 54.19 MB / 1.798 GB, free: 76.75 MB / 0.6355 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","../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches