Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.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-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/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.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 173.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.315/1.315, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.0007661/0.0007661, allocations: 89.55 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-OM_adaptions/package.mo): time 0.6223/0.6223, allocations: 89.62 MB / 408.5 MB, free: 4.461 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004166/0.0004167, allocations: 16 kB / 485.2 MB, free: 7.605 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2678, allocations: 66 MB / 0.5383 GB, free: 34.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.311/1.578, allocations: 0.7501 GB / 1.288 GB, free: 86.07 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/1.579, allocations: 83.8 kB / 1.288 GB, free: 85.99 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.7684/2.347, allocations: 285.8 MB / 1.568 GB, free: 40.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.304e-06/2.347, allocations: 0 / 1.568 GB, free: 40.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.239e-05/2.347, allocations: 19.98 kB / 1.568 GB, free: 40.11 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00395/2.351, allocations: 1.51 MB / 1.569 GB, free: 38.53 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/2.351, allocations: 12.03 kB / 1.569 GB, free: 38.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/2.352, allocations: 148 kB / 1.569 GB, free: 38.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/2.353, allocations: 437.7 kB / 1.57 GB, free: 37.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/2.353, allocations: 38.12 kB / 1.57 GB, free: 37.87 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/2.353, allocations: 59.92 kB / 1.57 GB, free: 37.81 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009545/2.354, allocations: 0.5996 MB / 1.57 GB, free: 37.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/2.354, allocations: 4 kB / 1.57 GB, free: 37.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/2.354, allocations: 20 kB / 1.57 GB, free: 37.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/2.354, allocations: 12 kB / 1.57 GB, free: 37.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009273/2.355, allocations: 488.2 kB / 1.571 GB, free: 36.69 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/2.358, allocations: 2.478 MB / 1.573 GB, free: 33.98 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000912/2.359, allocations: 0.4996 MB / 1.574 GB, free: 33.46 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/2.359, allocations: 280.2 kB / 1.574 GB, free: 33.18 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/2.36, allocations: 1.403 MB / 1.575 GB, free: 31.56 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006316/2.361, allocations: 436 kB / 1.576 GB, free: 31.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=58): time 2.185e-06/2.361, allocations: 0 / 1.576 GB, free: 31.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=58): time 0.002187/2.363, allocations: 1.103 MB / 1.577 GB, free: 29.96 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/2.363, allocations: 89.09 kB / 1.577 GB, free: 29.86 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/2.363, allocations: 389.8 kB / 1.577 GB, free: 29.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/2.364, allocations: 37.7 kB / 1.577 GB, free: 29.42 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/2.364, allocations: 253 kB / 1.578 GB, free: 29.17 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/2.364, allocations: 197.2 kB / 1.578 GB, free: 28.97 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/2.364, allocations: 11.94 kB / 1.578 GB, free: 28.96 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.685e-05/2.364, allocations: 366.8 kB / 1.578 GB, free: 28.59 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/2.364, allocations: 225.1 kB / 1.578 GB, free: 28.38 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/2.365, allocations: 299.1 kB / 1.579 GB, free: 28.06 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009096/2.366, allocations: 0.5688 MB / 1.579 GB, free: 27.46 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/2.366, allocations: 0 / 1.579 GB, free: 27.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001355/2.367, allocations: 0.8149 MB / 1.58 GB, free: 26.62 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/2.367, allocations: 63.41 kB / 1.58 GB, free: 26.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/2.367, allocations: 11.98 kB / 1.58 GB, free: 26.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002796/2.367, allocations: 81.72 kB / 1.58 GB, free: 26.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/2.368, allocations: 127.8 kB / 1.58 GB, free: 26.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/2.37, allocations: 2.842 MB / 1.583 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/2.37, allocations: 75.48 kB / 1.583 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/2.37, allocations: 68.05 kB / 1.583 GB, free: 23.07 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.sawTooth.T_start,sawTooth.T_start,$PRE.sawTooth.count,sawTooth.count,$whenCondition1,$PRE.sawTooth1.T_start,sawTooth1.T_start,$PRE.sawTooth1.count,sawTooth1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 6 * 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.0002441/2.37, allocations: 187.3 kB / 1.583 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.752e-05/2.371, allocations: 55.33 kB / 1.583 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/2.373, allocations: 0.9683 MB / 1.584 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/2.373, allocations: 8 kB / 1.584 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/2.373, allocations: 4 kB / 1.584 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/2.373, allocations: 3.984 kB / 1.584 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/2.375, allocations: 1.591 MB / 1.586 GB, free: 20.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/2.375, allocations: 15.98 kB / 1.586 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/2.375, allocations: 123.9 kB / 1.586 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/2.376, allocations: 77.62 kB / 1.586 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.383e-05/2.376, allocations: 47.91 kB / 1.586 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/2.377, allocations: 2.835 MB / 1.589 GB, free: 16.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/2.377, allocations: 0 / 1.589 GB, free: 16.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/2.379, allocations: 1.199 MB / 1.59 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/2.379, allocations: 216.2 kB / 1.59 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-05/2.379, allocations: 15.94 kB / 1.59 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/2.38, allocations: 47.95 kB / 1.59 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/2.38, allocations: 91.88 kB / 1.59 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/2.38, allocations: 71.97 kB / 1.591 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000211/2.38, allocations: 263.2 kB / 1.591 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/2.38, allocations: 0 / 1.591 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001826/2.382, allocations: 0.6045 MB / 1.591 GB, free: 14.26 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.inlet.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002834/2.385, allocations: 1.563 MB / 1.593 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001549/2.387, allocations: 1.088 MB / 1.594 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/2.387, allocations: 3.938 kB / 1.594 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0008665/2.387, allocations: 0.7417 MB / 1.595 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009488/2.388, allocations: 173.7 kB / 1.595 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/2.391, allocations: 1.593 MB / 1.596 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/2.391, allocations: 0.8795 MB / 1.597 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000837/2.392, allocations: 195.3 kB / 1.597 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/2.392, allocations: 87.41 kB / 1.598 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/2.392, allocations: 4 kB / 1.598 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of Templates: time 0.3086/2.701, allocations: 29.77 MB / 1.627 GB, free: 117.7 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches