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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.001426/0.001426, allocations: 176.1 kB / 16.12 MB, free: 5.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 222.3 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008494/0.0008495, allocations: 87.86 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.9316/0.9316, allocations: 89.57 MB / 408.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004879, allocations: 12.22 kB / 485.2 MB, free: 7.664 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4453, allocations: 66.01 MB / 0.5383 GB, free: 34.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.239/1.685, allocations: 445.3 MB / 0.9732 GB, free: 181.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/1.685, allocations: 107.3 kB / 0.9733 GB, free: 181.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.008/3.693, allocations: 0.5832 GB / 1.556 GB, free: 39.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.425e-06/3.693, allocations: 0 / 1.556 GB, free: 39.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001405/3.693, allocations: 67.91 kB / 1.557 GB, free: 39.42 MB / 0.5886 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.007397/3.701, allocations: 2.961 MB / 1.559 GB, free: 36.38 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/3.701, allocations: 8.031 kB / 1.559 GB, free: 36.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008788/3.702, allocations: 292.2 kB / 1.56 GB, free: 36.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/3.704, allocations: 1.208 MB / 1.561 GB, free: 34.82 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/3.704, allocations: 156.1 kB / 1.561 GB, free: 34.67 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003059/3.704, allocations: 215.8 kB / 1.561 GB, free: 34.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003963/3.708, allocations: 2.466 MB / 1.564 GB, free: 31.93 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.321e-05/3.708, allocations: 0 / 1.564 GB, free: 31.93 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/3.708, allocations: 80 kB / 1.564 GB, free: 31.85 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.399e-05/3.708, allocations: 63.98 kB / 1.564 GB, free: 31.79 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/3.712, allocations: 2.309 MB / 1.566 GB, free: 29.47 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01209/3.724, allocations: 11.93 MB / 1.578 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/3.727, allocations: 2.582 MB / 1.58 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/3.729, allocations: 1.105 MB / 1.581 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008388/3.737, allocations: 6.442 MB / 1.588 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001748/3.739, allocations: 1.204 MB / 1.589 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=211): time 4.038e-06/3.739, allocations: 0 / 1.589 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of matching and sorting (n=212): time 0.01181/3.751, allocations: 6.218 MB / 1.595 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/3.751, allocations: 95.11 kB / 1.595 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/3.752, allocations: 0.9703 MB / 1.596 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/3.752, allocations: 61.7 kB / 1.596 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007592/3.753, allocations: 0.787 MB / 1.597 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007325/3.754, allocations: 0.7084 MB / 1.597 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/3.754, allocations: 36 kB / 1.597 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000209/3.754, allocations: 373.9 kB / 1.598 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/3.756, allocations: 0.7965 MB / 1.599 GB, free: 9.949 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/3.757, allocations: 0.985 MB / 1.6 GB, free: 8.922 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003181/3.761, allocations: 1.919 MB / 1.601 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/3.761, allocations: 0 / 1.601 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005653/3.766, allocations: 2.704 MB / 1.604 GB, free: 4.207 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/3.766, allocations: 33.69 kB / 1.604 GB, free: 4.168 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/3.766, allocations: 4 kB / 1.604 GB, free: 4.164 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/3.768, allocations: 0.6164 MB / 1.605 GB, free: 3.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/3.769, allocations: 295.5 kB / 1.605 GB, free: 3.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.554/4.323, allocations: 11.39 MB / 1.616 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/4.326, allocations: 183 kB / 1.616 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/4.326, allocations: 73.69 kB / 1.616 GB, free: 59.16 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 () * 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.001329/4.328, allocations: 401 kB / 1.617 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004786/4.328, allocations: 180.2 kB / 1.617 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007259/4.335, allocations: 3.204 MB / 1.62 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.89e-05/4.335, allocations: 29.94 kB / 1.62 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-05/4.335, allocations: 7.25 kB / 1.62 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/4.335, allocations: 12.8 kB / 1.62 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/4.347, allocations: 5.507 MB / 1.625 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/4.347, allocations: 3.844 kB / 1.625 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/4.349, allocations: 303.1 kB / 1.626 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/4.35, allocations: 0.5365 MB / 1.626 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/4.351, allocations: 78.22 kB / 1.626 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01073/4.361, allocations: 14.2 MB / 1.64 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/4.361, allocations: 3.344 kB / 1.64 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009189/4.371, allocations: 4.205 MB / 1.644 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000916/4.372, allocations: 257 kB / 1.645 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/4.372, allocations: 46.81 kB / 1.645 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/4.373, allocations: 147.5 kB / 1.645 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005293/4.374, allocations: 190.9 kB / 1.645 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/4.374, allocations: 88.34 kB / 1.645 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001031/4.375, allocations: 0.6524 MB / 1.646 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/4.375, allocations: 0 / 1.646 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004171/4.379, allocations: 0.9769 MB / 1.647 GB, free: 46.04 MB / 0.6042 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.003907/4.383, allocations: 2.036 MB / 1.649 GB, free: 45.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005907/4.389, allocations: 3.326 MB / 1.652 GB, free: 44.13 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/4.389, allocations: 3.062 kB / 1.652 GB, free: 44.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003698/4.393, allocations: 2.709 MB / 1.654 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/4.397, allocations: 0.5366 MB / 1.655 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00973/4.407, allocations: 5.217 MB / 1.66 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/4.408, allocations: 1.504 MB / 1.662 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001875/4.41, allocations: 376.1 kB / 1.662 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004102/4.41, allocations: 168.8 kB / 1.662 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/4.41, allocations: 2.281 kB / 1.662 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.09537/4.505, allocations: 52.69 MB / 1.714 GB, free: 35.63 MB / 0.6042 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