Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 169 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.014/1.014, allocations: 177.1 MB / 203.4 MB, free: 5.238 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7004/0.7004, allocations: 118.6 MB / 378.6 MB, free: 1.418 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 1.312 kB / 483.6 MB, free: 8.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.855e-05, allocations: 5.547 kB / 483.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1367/0.1368, allocations: 131.1 MB / 0.6003 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.139, allocations: 1.776 MB / 0.6021 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/0.1393, allocations: 23.75 kB / 0.6021 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.1397, allocations: 119 kB / 0.6022 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006763/0.1404, allocations: 425.1 kB / 0.6026 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.1409, allocations: 279.1 kB / 0.6029 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006632/0.1416, allocations: 0.8231 MB / 0.6037 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1417, allocations: 77.31 kB / 0.6038 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006703/0.1424, allocations: 474.5 kB / 0.6042 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003727/0.1428, allocations: 323.1 kB / 0.6045 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.741e-05/0.1428, allocations: 32 kB / 0.6046 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003534/0.1432, allocations: 251.6 kB / 0.6048 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.113e-05/0.1433, allocations: 87.55 kB / 0.6049 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.1434, allocations: 175.5 kB / 0.605 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006102/0.144, allocations: 0.541 MB / 0.6056 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.144, allocations: 4 kB / 0.6056 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.282e-06/0.144, allocations: 4 kB / 0.6056 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.144, allocations: 3.938 kB / 0.6056 GB, free: 7.699 MB / 0.5261 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.001053/0.1451, allocations: 0.8721 MB / 0.6064 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1451, allocations: 8.031 kB / 0.6064 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.1453, allocations: 96.5 kB / 0.6065 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.1457, allocations: 385.1 kB / 0.6069 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.1458, allocations: 33.38 kB / 0.6069 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.1458, allocations: 36.36 kB / 0.607 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004216/0.1462, allocations: 339.4 kB / 0.6073 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1463, allocations: 192 / 0.6073 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.1463, allocations: 16.12 kB / 0.6073 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.1463, allocations: 8 kB / 0.6073 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.1466, allocations: 179.7 kB / 0.6075 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.148, allocations: 1.436 MB / 0.6089 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.1484, allocations: 243.3 kB / 0.6091 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1486, allocations: 103.6 kB / 0.6092 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009255/0.1495, allocations: 0.7067 MB / 0.6099 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.1498, allocations: 168.7 kB / 0.6101 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 2.003e-06/0.1498, allocations: 3.938 kB / 0.6101 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.0007953/0.1506, allocations: 409.2 kB / 0.6105 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1506, allocations: 59.41 kB / 0.6105 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.1509, allocations: 378.7 kB / 0.6109 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1509, allocations: 29.7 kB / 0.6109 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.151, allocations: 283.2 kB / 0.6112 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/0.1511, allocations: 126.9 kB / 0.6113 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.28e-05/0.1512, allocations: 83.72 kB / 0.6114 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1514, allocations: 0.5196 MB / 0.6119 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.1515, allocations: 86.41 kB / 0.612 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.1516, allocations: 161.6 kB / 0.6121 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.1519, allocations: 248.1 kB / 0.6124 GB, free: 420 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1519, allocations: 0 / 0.6124 GB, free: 420 kB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005229/0.1524, allocations: 413.1 kB / 0.6128 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/0.1525, allocations: 37.84 kB / 0.6128 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1525, allocations: 4 kB / 0.6128 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.1527, allocations: 39.66 kB / 0.6128 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.1529, allocations: 79.84 kB / 0.6129 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.1539, allocations: 1.83 MB / 0.6147 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.1541, allocations: 39.72 kB / 0.6147 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.1541, allocations: 16 kB / 0.6147 GB, free: 13.81 MB / 0.5417 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.1542, allocations: 184.2 kB / 0.6149 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1543, allocations: 67.59 kB / 0.615 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000583/0.1549, allocations: 440.9 kB / 0.6154 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1549, allocations: 4 kB / 0.6154 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1549, allocations: 4 kB / 0.6154 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1549, allocations: 0 / 0.6154 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008563/0.1558, allocations: 0.8011 MB / 0.6162 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1558, allocations: 4 kB / 0.6162 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.1559, allocations: 59.91 kB / 0.6163 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.156, allocations: 47.66 kB / 0.6163 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.1561, allocations: 15.98 kB / 0.6163 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009591/0.157, allocations: 1.818 MB / 0.6181 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.157, allocations: 7.938 kB / 0.6181 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006232/0.1577, allocations: 0.5461 MB / 0.6186 GB, free: 9.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.721e-05/0.1577, allocations: 87.53 kB / 0.6187 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.1578, allocations: 8 kB / 0.6187 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.1579, allocations: 11.98 kB / 0.6187 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.158, allocations: 39.8 kB / 0.6188 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.158, allocations: 12 kB / 0.6188 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001676/0.1582, allocations: 267.1 kB / 0.619 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1582, allocations: 0 / 0.619 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004019/0.1586, allocations: 163.7 kB / 0.6192 GB, free: 9.016 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (flowResistance.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002646/0.1588, allocations: 170.9 kB / 0.6194 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005624/0.1594, allocations: 473.8 kB / 0.6198 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1594, allocations: 0 / 0.6198 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.1596, allocations: 313 kB / 0.6201 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005766/0.1602, allocations: 189 kB / 0.6203 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.1618, allocations: 0.818 MB / 0.6211 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.509e-05/0.1618, allocations: 109.8 kB / 0.6212 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001953/0.162, allocations: 88.92 kB / 0.6213 GB, free: 6.766 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.1621, allocations: 48.48 kB / 0.6213 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/0.1621, allocations: 4 kB / 0.6213 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of Templates: time 0.01159/0.1737, allocations: 8.226 MB / 0.6294 GB, free: 14.67 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.444489382673055]