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.0009258/0.0009258, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001387/0.001387, allocations: 169 kB / 23.28 MB, free: 1.223 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.9346/0.9346, allocations: 177.2 MB / 203.7 MB, free: 5.496 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.6417/0.6417, allocations: 118.6 MB / 378.9 MB, free: 1.363 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.743e-06/1.743e-06, allocations: 0 / 484 MB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.527e-05, allocations: 6.031 kB / 484.1 MB, free: 8.098 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1189/0.1189, allocations: 128.2 MB / 0.5979 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1207, allocations: 1.761 MB / 0.5996 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/0.121, allocations: 23.75 kB / 0.5997 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003825/0.1213, allocations: 111.1 kB / 0.5998 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005543/0.1219, allocations: 441 kB / 0.6002 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.1223, allocations: 271 kB / 0.6005 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.1229, allocations: 0.827 MB / 0.6013 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.123, allocations: 77.36 kB / 0.6013 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005204/0.1235, allocations: 466.6 kB / 0.6018 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.1238, allocations: 327.1 kB / 0.6021 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.1239, allocations: 32 kB / 0.6021 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.1242, allocations: 251.7 kB / 0.6024 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.1243, allocations: 91.55 kB / 0.6024 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.1244, allocations: 175.5 kB / 0.6026 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005354/0.1249, allocations: 0.541 MB / 0.6031 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1249, allocations: 0 / 0.6031 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.354e-06/0.1249, allocations: 3.984 kB / 0.6031 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1249, allocations: 0 / 0.6031 GB, free: 10.37 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.0009075/0.1258, allocations: 0.8837 MB / 0.604 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1259, allocations: 12.03 kB / 0.604 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.126, allocations: 96.5 kB / 0.6041 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.1266, allocations: 381.2 kB / 0.6045 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.1267, allocations: 25.38 kB / 0.6045 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.1267, allocations: 36.38 kB / 0.6045 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.127, allocations: 319.3 kB / 0.6048 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.127, allocations: 4.125 kB / 0.6048 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.1271, allocations: 24.12 kB / 0.6049 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1271, allocations: 8 kB / 0.6049 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.1272, allocations: 136.4 kB / 0.605 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.1283, allocations: 1.374 MB / 0.6063 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.1286, allocations: 231 kB / 0.6066 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.293e-05/0.1287, allocations: 83.62 kB / 0.6066 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007665/0.1295, allocations: 0.7205 MB / 0.6074 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.1296, allocations: 164.9 kB / 0.6075 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 1.764e-06/0.1296, allocations: 0 / 0.6075 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.0005629/0.1302, allocations: 368.9 kB / 0.6079 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1302, allocations: 59.41 kB / 0.6079 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.1304, allocations: 374.5 kB / 0.6083 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1305, allocations: 33.7 kB / 0.6083 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1306, allocations: 283.1 kB / 0.6086 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.1306, allocations: 134.9 kB / 0.6087 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/0.1307, allocations: 79.69 kB / 0.6088 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1309, allocations: 0.5234 MB / 0.6093 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.1309, allocations: 74.41 kB / 0.6094 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.131, allocations: 153.6 kB / 0.6095 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.1312, allocations: 224.1 kB / 0.6097 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1312, allocations: 0 / 0.6097 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003709/0.1316, allocations: 381.1 kB / 0.6101 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.1316, allocations: 33.7 kB / 0.6101 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1316, allocations: 0 / 0.6101 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.1318, allocations: 47.75 kB / 0.6102 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.1319, allocations: 83.83 kB / 0.6102 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.133, allocations: 1.795 MB / 0.612 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.1331, allocations: 35.73 kB / 0.612 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.1331, allocations: 15.98 kB / 0.612 GB, free: 0.7852 MB / 0.5261 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.0001118/0.1332, allocations: 188.6 kB / 0.6122 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-05/0.1333, allocations: 59.72 kB / 0.6123 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/0.1337, allocations: 417.3 kB / 0.6127 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1337, allocations: 4 kB / 0.6127 GB, free: 116 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1337, allocations: 4 kB / 0.6127 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1338, allocations: 7.984 kB / 0.6127 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006821/0.1344, allocations: 0.7275 MB / 0.6134 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1344, allocations: 0 / 0.6134 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1345, allocations: 55.91 kB / 0.6135 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001096/0.1347, allocations: 55.59 kB / 0.6135 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.1347, allocations: 11.98 kB / 0.6135 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000704/0.1354, allocations: 1.792 MB / 0.6153 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1354, allocations: 3.984 kB / 0.6153 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.1358, allocations: 0.5079 MB / 0.6158 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.844e-05/0.1359, allocations: 83.61 kB / 0.6159 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.1359, allocations: 15.98 kB / 0.6159 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.136, allocations: 11.94 kB / 0.6159 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.1361, allocations: 35.8 kB / 0.6159 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1361, allocations: 15.98 kB / 0.6159 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001215/0.1362, allocations: 255 kB / 0.6162 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.1362, allocations: 0 / 0.6162 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003504/0.1366, allocations: 159.7 kB / 0.6163 GB, free: 12.18 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.000236/0.1368, allocations: 173.6 kB / 0.6165 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000406/0.1372, allocations: 452.8 kB / 0.6169 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1372, allocations: 4.25 kB / 0.6169 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.1374, allocations: 305.2 kB / 0.6172 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.138, allocations: 185.4 kB / 0.6174 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.1395, allocations: 0.8024 MB / 0.6182 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.524e-05/0.1395, allocations: 109.8 kB / 0.6183 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001761/0.1397, allocations: 88.7 kB / 0.6184 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.1399, allocations: 206.1 kB / 0.6186 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of SimCode: time 6.91e-07/0.1399, allocations: 0 / 0.6186 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of Templates: time 0.01076/0.1507, allocations: 9.104 MB / 0.6275 GB, free: 0.8633 MB / 0.5417 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: 3.751027960795909]