Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.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.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 170.2 kB / 16.11 MB, free: 5.574 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.885/1.885, allocations: 205.4 MB / 222.3 MB, free: 9.008 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.0008681/0.0008681, allocations: 94.3 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.8975/0.8975, allocations: 89.58 MB / 408.5 MB, free: 4.512 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003945, allocations: 12 kB / 485.2 MB, free: 7.656 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4195, allocations: 66 MB / 0.5382 GB, free: 34.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.942/2.362, allocations: 0.7551 GB / 1.293 GB, free: 80.64 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/2.362, allocations: 95.78 kB / 1.293 GB, free: 80.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.9694/3.331, allocations: 299.2 MB / 1.586 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.264e-06/3.331, allocations: 4 kB / 1.586 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.381e-05/3.331, allocations: 19.98 kB / 1.586 GB, free: 21.39 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004998/3.336, allocations: 1.773 MB / 1.587 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/3.337, allocations: 12.03 kB / 1.587 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/3.338, allocations: 187.8 kB / 1.588 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/3.339, allocations: 0.5051 MB / 1.588 GB, free: 18.81 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.331e-05/3.339, allocations: 71.52 kB / 1.588 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/3.339, allocations: 68.75 kB / 1.588 GB, free: 18.67 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/3.34, allocations: 0.8325 MB / 1.589 GB, free: 17.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/3.34, allocations: 11.94 kB / 1.589 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.348e-05/3.341, allocations: 20 kB / 1.589 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/3.341, allocations: 20 kB / 1.589 GB, free: 17.77 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/3.342, allocations: 0.7517 MB / 1.59 GB, free: 17.02 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/3.346, allocations: 3.588 MB / 1.593 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/3.348, allocations: 0.8185 MB / 1.594 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007424/3.349, allocations: 410.3 kB / 1.595 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001687/3.35, allocations: 1.723 MB / 1.596 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/3.351, allocations: 0.5885 MB / 1.597 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=76): time 3.186e-06/3.351, allocations: 0 / 1.597 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=76): time 0.003222/3.355, allocations: 1.532 MB / 1.598 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/3.355, allocations: 89.11 kB / 1.598 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/3.355, allocations: 462.8 kB / 1.599 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.257e-05/3.355, allocations: 45.7 kB / 1.599 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/3.356, allocations: 300.7 kB / 1.599 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/3.356, allocations: 260.2 kB / 1.599 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/3.356, allocations: 12 kB / 1.599 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001231/3.356, allocations: 378.7 kB / 1.6 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007379/3.357, allocations: 353.8 kB / 1.6 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007788/3.357, allocations: 449.9 kB / 1.601 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/3.359, allocations: 0.8434 MB / 1.601 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/3.359, allocations: 0 / 1.601 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002195/3.361, allocations: 1.127 MB / 1.602 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/3.361, allocations: 63.39 kB / 1.603 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/3.361, allocations: 11.98 kB / 1.603 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/3.362, allocations: 81.61 kB / 1.603 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006488/3.362, allocations: 203.7 kB / 1.603 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4306/3.793, allocations: 2.845 MB / 1.606 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/3.794, allocations: 117.6 kB / 1.606 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/3.795, allocations: 92.73 kB / 1.606 GB, free: 114.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004967/3.795, allocations: 197.3 kB / 1.606 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/3.795, allocations: 67.53 kB / 1.606 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/3.799, allocations: 1.371 MB / 1.607 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/3.799, allocations: 8.5 kB / 1.607 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/3.799, allocations: 7.656 kB / 1.607 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/3.799, allocations: 5.859 kB / 1.607 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004562/3.804, allocations: 2.073 MB / 1.609 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.438e-05/3.804, allocations: 9.594 kB / 1.609 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007541/3.804, allocations: 186.6 kB / 1.61 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002993/3.805, allocations: 89.88 kB / 1.61 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/3.805, allocations: 51.41 kB / 1.61 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/3.807, allocations: 2.837 MB / 1.612 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/3.807, allocations: 5.156 kB / 1.613 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003766/3.811, allocations: 1.646 MB / 1.614 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004866/3.811, allocations: 247.8 kB / 1.614 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/3.811, allocations: 17.97 kB / 1.614 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006658/3.812, allocations: 83.58 kB / 1.614 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003315/3.812, allocations: 115.7 kB / 1.615 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/3.813, allocations: 96.81 kB / 1.615 GB, free: 111 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004796/3.813, allocations: 318.9 kB / 1.615 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/3.813, allocations: 1 kB / 1.615 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002993/3.816, allocations: 0.7007 MB / 1.616 GB, free: 110.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.rear.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,trapezoid1.T_start,trapezoid1.count,$whenCondition2,trapezoid.T_start,trapezoid.count) * Number of discrete states: 2 (trapezoid.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003269/3.819, allocations: 1.656 MB / 1.617 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002627/3.822, allocations: 1.39 MB / 1.619 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/3.822, allocations: 2.844 kB / 1.619 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/3.823, allocations: 0.9131 MB / 1.62 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/3.825, allocations: 193.5 kB / 1.62 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/3.829, allocations: 1.93 MB / 1.622 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/3.829, allocations: 0.9228 MB / 1.622 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00149/3.831, allocations: 274 kB / 1.623 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004851/3.831, allocations: 126.3 kB / 1.623 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.623e-06/3.831, allocations: 0 / 1.623 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.04935/3.881, allocations: 33.28 MB / 1.655 GB, free: 107 MB / 0.5886 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TransportDelay_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches