Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001467, allocations: 176.6 kB / 16.12 MB, free: 5.691 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.856/1.856, 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.0009166/0.0009169, allocations: 92.98 kB / 270.6 MB, free: 8.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.9056/0.9056, allocations: 89.58 MB / 408.5 MB, free: 4.52 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004153, allocations: 16.22 kB / 485.2 MB, free: 7.668 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4105, allocations: 66.02 MB / 0.5383 GB, free: 34.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.606, allocations: 438.1 MB / 0.9661 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.606, allocations: 93.34 kB / 0.9662 GB, free: 189.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1424/1.749, allocations: 73.37 MB / 1.038 GB, free: 115 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.667e-06/1.749, allocations: 0 / 1.038 GB, free: 115 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.424e-05/1.749, allocations: 15.94 kB / 1.038 GB, free: 115 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001644/1.75, allocations: 0.759 MB / 1.039 GB, free: 114.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.751, allocations: 12.03 kB / 1.039 GB, free: 114.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/1.751, allocations: 56.38 kB / 1.039 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/1.751, allocations: 335.2 kB / 1.039 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/1.751, allocations: 21.03 kB / 1.039 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.585e-05/1.751, allocations: 36.38 kB / 1.039 GB, free: 113.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006607/1.752, allocations: 420.5 kB / 1.039 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/1.752, allocations: 0 / 1.039 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/1.752, allocations: 20 kB / 1.039 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/1.752, allocations: 8 kB / 1.039 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006401/1.753, allocations: 386.3 kB / 1.04 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/1.755, allocations: 1.847 MB / 1.042 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008569/1.755, allocations: 455.6 kB / 1.042 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/1.756, allocations: 216.1 kB / 1.042 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/1.757, allocations: 1.266 MB / 1.044 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004024/1.758, allocations: 244.2 kB / 1.044 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=41): time 2.936e-06/1.758, allocations: 0 / 1.044 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=41): time 0.00143/1.759, allocations: 0.6989 MB / 1.044 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/1.759, allocations: 59.41 kB / 1.045 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/1.76, allocations: 263 kB / 1.045 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/1.76, allocations: 41.62 kB / 1.045 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/1.76, allocations: 192.2 kB / 1.045 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.193e-05/1.76, allocations: 134.1 kB / 1.045 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/1.76, allocations: 8 kB / 1.045 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.639e-05/1.76, allocations: 350.8 kB / 1.045 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/1.76, allocations: 148.8 kB / 1.046 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/1.76, allocations: 205.4 kB / 1.046 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005804/1.761, allocations: 400.5 kB / 1.046 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.761, allocations: 3.938 kB / 1.046 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009146/1.762, allocations: 0.5283 MB / 1.047 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/1.762, allocations: 37.69 kB / 1.047 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.762, allocations: 0 / 1.047 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/1.762, allocations: 40.83 kB / 1.047 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/1.763, allocations: 79.89 kB / 1.047 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/1.764, allocations: 1.428 MB / 1.048 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/1.764, allocations: 47.7 kB / 1.048 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/1.764, allocations: 16 kB / 1.048 GB, free: 103.6 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: 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001652/1.764, allocations: 157.8 kB / 1.048 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.984e-05/1.764, allocations: 43.55 kB / 1.048 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009819/1.765, allocations: 0.5481 MB / 1.049 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/1.765, allocations: 7.984 kB / 1.049 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/1.765, allocations: 0 / 1.049 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/1.765, allocations: 0 / 1.049 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/1.767, allocations: 1.081 MB / 1.05 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.767, allocations: 4 kB / 1.05 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/1.767, allocations: 75.89 kB / 1.05 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/1.767, allocations: 44.84 kB / 1.05 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/1.767, allocations: 12 kB / 1.05 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008336/1.768, allocations: 1.429 MB / 1.052 GB, free: 99.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.768, allocations: 0 / 1.052 GB, free: 99.98 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/1.769, allocations: 0.7695 MB / 1.052 GB, free: 99.18 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.999e-05/1.769, allocations: 124.5 kB / 1.052 GB, free: 99.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/1.769, allocations: 8 kB / 1.052 GB, free: 99.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/1.77, allocations: 31.98 kB / 1.053 GB, free: 99 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.77, allocations: 35.94 kB / 1.053 GB, free: 98.97 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/1.77, allocations: 16 kB / 1.053 GB, free: 98.95 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001603/1.77, allocations: 190 kB / 1.053 GB, free: 98.77 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/1.77, allocations: 0 / 1.053 GB, free: 98.77 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006567/1.771, allocations: 187.7 kB / 1.053 GB, free: 98.59 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (checkValve.rear.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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005842/1.771, allocations: 338.3 kB / 1.053 GB, free: 98.25 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000941/1.772, allocations: 0.5677 MB / 1.054 GB, free: 97.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.772, allocations: 0 / 1.054 GB, free: 97.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004514/1.773, allocations: 362.5 kB / 1.054 GB, free: 97.29 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007013/1.773, allocations: 112 kB / 1.054 GB, free: 97.19 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/1.775, allocations: 0.9313 MB / 1.055 GB, free: 96.22 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/1.775, allocations: 0.7966 MB / 1.056 GB, free: 95.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002802/1.775, allocations: 78.92 kB / 1.056 GB, free: 95.32 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.29e-05/1.775, allocations: 39.42 kB / 1.056 GB, free: 95.29 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/1.775, allocations: 3.938 kB / 1.056 GB, free: 95.28 MB / 0.5886 GB Notification: Performance of Templates: time 0.01435/1.79, allocations: 8.674 MB / 1.065 GB, free: 86.66 MB / 0.5886 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches