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.001491/0.001491, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001689/0.001689, allocations: 177.3 kB / 23.49 MB, free: 1.055 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 0.9733/0.9733, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.7157/0.7157, allocations: 118.6 MB / 378.9 MB, free: 1.461 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 1.482e-06/1.482e-06, allocations: 0 / 483.6 MB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.637e-05, allocations: 2.312 kB / 483.6 MB, free: 8.312 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1366/0.1366, allocations: 139.2 MB / 0.6082 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003065/0.1396, allocations: 3.49 MB / 0.6116 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.1399, allocations: 27.75 kB / 0.6116 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000533/0.1405, allocations: 198.5 kB / 0.6118 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0009136/0.1414, allocations: 0.551 MB / 0.6123 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007911/0.1422, allocations: 410.4 kB / 0.6127 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006967/0.1429, allocations: 0.8232 MB / 0.6135 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.143, allocations: 69.39 kB / 0.6136 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007221/0.1438, allocations: 0.5023 MB / 0.6141 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003489/0.1441, allocations: 323.2 kB / 0.6144 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.1442, allocations: 32 kB / 0.6144 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006968/0.1448, allocations: 0.5068 MB / 0.6149 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003443/0.1452, allocations: 95.53 kB / 0.615 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.1453, allocations: 171.5 kB / 0.6152 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0007897/0.1461, allocations: 0.6385 MB / 0.6158 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1461, allocations: 0 / 0.6158 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1461, allocations: 0 / 0.6158 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.1461, allocations: 3.938 kB / 0.6158 GB, free: 13.56 MB / 0.5417 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.001072/0.1472, allocations: 0.8835 MB / 0.6167 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1473, allocations: 12.03 kB / 0.6167 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.1474, allocations: 100.4 kB / 0.6168 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.1479, allocations: 389.1 kB / 0.6171 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.1479, allocations: 25.38 kB / 0.6172 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.1479, allocations: 36.38 kB / 0.6172 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.1484, allocations: 339.5 kB / 0.6175 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1484, allocations: 192 / 0.6175 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.1484, allocations: 20.12 kB / 0.6175 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.1484, allocations: 12 kB / 0.6176 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.1487, allocations: 179.7 kB / 0.6177 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.15, allocations: 1.428 MB / 0.6191 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.1504, allocations: 251.3 kB / 0.6194 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.1505, allocations: 95.58 kB / 0.6194 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008831/0.1514, allocations: 0.7415 MB / 0.6202 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.1516, allocations: 160.7 kB / 0.6203 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=37): time 1.763e-06/0.1516, allocations: 4 kB / 0.6203 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of matching and sorting (n=37): time 0.0007346/0.1523, allocations: 405.2 kB / 0.6207 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.1524, allocations: 55.41 kB / 0.6208 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.1526, allocations: 378.7 kB / 0.6211 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1527, allocations: 37.7 kB / 0.6212 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.1528, allocations: 271.2 kB / 0.6214 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.466e-05/0.1529, allocations: 142.8 kB / 0.6216 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.541e-05/0.1529, allocations: 79.72 kB / 0.6216 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003785/0.1533, allocations: 0.5196 MB / 0.6221 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.1534, allocations: 90.41 kB / 0.6222 GB, free: 6.691 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1536, allocations: 161.5 kB / 0.6224 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.1538, allocations: 244.2 kB / 0.6226 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1538, allocations: 4 kB / 0.6226 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004805/0.1543, allocations: 417.1 kB / 0.623 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.1544, allocations: 33.7 kB / 0.6231 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1544, allocations: 0 / 0.6231 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.1545, allocations: 43.81 kB / 0.6231 GB, free: 5.715 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.1547, allocations: 75.89 kB / 0.6232 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008981/0.1556, allocations: 1.826 MB / 0.6249 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.1557, allocations: 39.77 kB / 0.625 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.1558, allocations: 16 kB / 0.625 GB, free: 3.637 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.0001216/0.1559, allocations: 176.5 kB / 0.6252 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.581e-05/0.156, allocations: 67.59 kB / 0.6252 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000558/0.1565, allocations: 453 kB / 0.6257 GB, free: 2.941 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1565, allocations: 4 kB / 0.6257 GB, free: 2.938 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1565, allocations: 0 / 0.6257 GB, free: 2.938 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1565, allocations: 3.984 kB / 0.6257 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008078/0.1573, allocations: 0.8127 MB / 0.6265 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1573, allocations: 0 / 0.6265 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.1575, allocations: 63.84 kB / 0.6265 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/0.1576, allocations: 43.64 kB / 0.6266 GB, free: 1.957 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.1576, allocations: 12.06 kB / 0.6266 GB, free: 1.945 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007943/0.1584, allocations: 1.826 MB / 0.6284 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1584, allocations: 7.938 kB / 0.6284 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008305/0.1592, allocations: 0.5421 MB / 0.6289 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/0.1593, allocations: 71.66 kB / 0.629 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.1594, allocations: 15.95 kB / 0.629 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.1595, allocations: 23.98 kB / 0.629 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.1595, allocations: 35.88 kB / 0.629 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.1596, allocations: 15.98 kB / 0.6291 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001626/0.1597, allocations: 263.1 kB / 0.6293 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.1597, allocations: 0 / 0.6293 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003909/0.1601, allocations: 171.7 kB / 0.6295 GB, free: 14.82 MB / 0.5573 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.000293/0.1604, allocations: 246.2 kB / 0.6297 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005206/0.1609, allocations: 481.6 kB / 0.6302 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1609, allocations: 0 / 0.6302 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.1612, allocations: 317.3 kB / 0.6305 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.1617, allocations: 179 kB / 0.6306 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1631, allocations: 0.8138 MB / 0.6314 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.259e-05/0.1632, allocations: 109.8 kB / 0.6315 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002068/0.1634, allocations: 89.34 kB / 0.6316 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.423e-05/0.1635, allocations: 52.48 kB / 0.6317 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of SimCode: time 7.51e-07/0.1635, allocations: 0 / 0.6317 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of Templates: time 0.01279/0.1763, allocations: 9.315 MB / 0.6408 GB, free: 3.344 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.225283222971484]