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.008024/0.008025, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.679/1.679, allocations: 223.2 MB / 239 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 98.19 kB / 290.2 MB, free: 4.578 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.01186/0.01186, allocations: 1.552 MB / 342.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.9646/0.9646, allocations: 90.3 MB / 484.7 MB, free: 39.91 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005566/0.0005566, allocations: 12 kB / 0.5526 GB, free: 6.605 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5268/0.5274, allocations: 69.36 MB / 0.6203 GB, free: 20.83 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.51/2.037, allocations: 445.6 MB / 1.055 GB, free: 195.1 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/2.037, allocations: 99.89 kB / 1.056 GB, free: 195.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.459/4.496, allocations: 0.6007 GB / 1.656 GB, free: 64.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.935e-06/4.496, allocations: 0 / 1.656 GB, free: 64.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003505/4.497, allocations: 59.48 kB / 1.656 GB, free: 64.31 MB / 0.6198 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.01282/4.51, allocations: 2.991 MB / 1.659 GB, free: 61.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/4.51, allocations: 11.98 kB / 1.659 GB, free: 61.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/4.512, allocations: 285 kB / 1.66 GB, free: 61.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004126/4.516, allocations: 1.162 MB / 1.661 GB, free: 60.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002598/4.516, allocations: 156.1 kB / 1.661 GB, free: 60.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001105/4.517, allocations: 215.9 kB / 1.661 GB, free: 59.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007958/4.525, allocations: 2.45 MB / 1.663 GB, free: 57.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.412e-05/4.525, allocations: 0 / 1.663 GB, free: 57.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001989/4.526, allocations: 83.95 kB / 1.663 GB, free: 57.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/4.526, allocations: 63.98 kB / 1.664 GB, free: 57.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004114/4.53, allocations: 2.309 MB / 1.666 GB, free: 54.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01543/4.545, allocations: 12.08 MB / 1.678 GB, free: 41.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/4.549, allocations: 2.574 MB / 1.68 GB, free: 38.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008874/4.558, allocations: 6.57 MB / 1.687 GB, free: 31.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001781/4.559, allocations: 1.184 MB / 1.688 GB, free: 30.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=211): time 4.488e-06/4.559, allocations: 0 / 1.688 GB, free: 30.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=212): time 0.01173/4.571, allocations: 7.479 MB / 1.695 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/4.571, allocations: 99.11 kB / 1.695 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/4.572, allocations: 0.8429 MB / 1.696 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/4.573, allocations: 57.7 kB / 1.696 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006602/4.573, allocations: 0.7793 MB / 1.697 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005674/4.574, allocations: 0.7121 MB / 1.697 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/4.574, allocations: 36 kB / 1.697 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001436/4.574, allocations: 377.9 kB / 1.698 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/4.575, allocations: 0.7926 MB / 1.699 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/4.577, allocations: 0.9772 MB / 1.7 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/4.578, allocations: 0.9284 MB / 1.7 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/4.578, allocations: 7.953 kB / 1.7 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005059/4.583, allocations: 2.689 MB / 1.703 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/4.583, allocations: 34.48 kB / 1.703 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/4.583, allocations: 4 kB / 1.703 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001777/4.585, allocations: 0.6165 MB / 1.704 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/4.586, allocations: 279.6 kB / 1.704 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007488/4.594, allocations: 11.46 MB / 1.715 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/4.596, allocations: 179.1 kB / 1.715 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/4.596, allocations: 91.86 kB / 1.715 GB, free: 0.5195 MB / 0.6198 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 () * Number of clocked 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.001102/4.597, allocations: 397.5 kB / 1.716 GB, free: 124 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004544/4.598, allocations: 173.9 kB / 1.716 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006987/4.605, allocations: 3.23 MB / 1.719 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/4.605, allocations: 32 kB / 1.719 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/4.605, allocations: 8 kB / 1.719 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.397e-05/4.605, allocations: 11.95 kB / 1.719 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/4.616, allocations: 5.553 MB / 1.725 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/4.616, allocations: 0 / 1.725 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/4.618, allocations: 307.7 kB / 1.725 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/4.62, allocations: 0.5461 MB / 1.725 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/4.62, allocations: 76.69 kB / 1.726 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6352/5.255, allocations: 14.35 MB / 1.74 GB, free: 70.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/5.255, allocations: 4.812 kB / 1.74 GB, free: 70.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/5.266, allocations: 4.253 MB / 1.744 GB, free: 70.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/5.267, allocations: 262.7 kB / 1.744 GB, free: 70.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/5.267, allocations: 46.38 kB / 1.744 GB, free: 70.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/5.269, allocations: 151 kB / 1.744 GB, free: 70.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007852/5.27, allocations: 188.9 kB / 1.744 GB, free: 70.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002979/5.27, allocations: 87 kB / 1.744 GB, free: 70.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001387/5.272, allocations: 0.6576 MB / 1.745 GB, free: 70.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.863e-06/5.272, allocations: 0 / 1.745 GB, free: 70.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.006552/5.278, allocations: 0.974 MB / 1.746 GB, free: 70.16 MB / 0.6355 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) * Number of clocked states: 0 () * 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.005365/5.283, allocations: 2.033 MB / 1.748 GB, free: 69.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007243/5.291, allocations: 3.333 MB / 1.751 GB, free: 68.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/5.291, allocations: 0 / 1.751 GB, free: 68.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004995/5.296, allocations: 2.706 MB / 1.754 GB, free: 67.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003464/5.299, allocations: 0.5032 MB / 1.754 GB, free: 67.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00879/5.308, allocations: 5.21 MB / 1.759 GB, free: 64.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/5.309, allocations: 1.547 MB / 1.761 GB, free: 64.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002261/5.312, allocations: 377.9 kB / 1.761 GB, free: 64.15 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/5.312, allocations: 170 kB / 1.761 GB, free: 64.15 MB / 0.6355 GB Notification: Performance of SimCode: time 1.814e-06/5.312, allocations: 0 / 1.761 GB, free: 64.15 MB / 0.6355 GB Notification: Performance of Templates: time 0.09768/5.41, allocations: 52.06 MB / 1.812 GB, free: 60.46 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