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/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.001018/0.001018, 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.0009641/0.0009641, allocations: 173 kB / 23.49 MB, free: 1.059 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.9461/0.9461, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6593/0.6593, allocations: 118.6 MB / 378.9 MB, free: 1.512 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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_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_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 483.6 MB, free: 8.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.421e-05, allocations: 3.469 kB / 483.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.126/0.126, allocations: 139.1 MB / 0.6082 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003356/0.1293, allocations: 3.502 MB / 0.6116 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002925/0.1296, allocations: 19.81 kB / 0.6116 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005564/0.1302, allocations: 202.5 kB / 0.6118 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008694/0.1311, allocations: 0.5394 MB / 0.6123 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.1318, allocations: 426.3 kB / 0.6127 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006713/0.1325, allocations: 0.8115 MB / 0.6135 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.1326, allocations: 74.61 kB / 0.6136 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006135/0.1333, allocations: 0.4984 MB / 0.6141 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.1336, allocations: 335.1 kB / 0.6144 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.1336, allocations: 36 kB / 0.6144 GB, free: 15 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006538/0.1343, allocations: 0.495 MB / 0.6149 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 8.732e-05/0.1343, allocations: 99.53 kB / 0.615 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.1345, allocations: 167.5 kB / 0.6152 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0007073/0.1352, allocations: 0.6385 MB / 0.6158 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1352, allocations: 0 / 0.6158 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1352, allocations: 4 kB / 0.6158 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.1352, allocations: 0 / 0.6158 GB, free: 13.6 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.001013/0.1362, allocations: 0.8834 MB / 0.6167 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1363, allocations: 16.02 kB / 0.6167 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.1364, allocations: 100.4 kB / 0.6168 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.1368, allocations: 385.2 kB / 0.6171 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.1369, allocations: 25.38 kB / 0.6172 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.1369, allocations: 36.38 kB / 0.6172 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.1375, allocations: 347.4 kB / 0.6175 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1375, allocations: 192 / 0.6175 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.1375, allocations: 16.12 kB / 0.6175 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1375, allocations: 8 kB / 0.6176 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.1378, allocations: 175.7 kB / 0.6177 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.139, allocations: 1.439 MB / 0.6191 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.1394, allocations: 246.4 kB / 0.6194 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.1396, allocations: 99.58 kB / 0.6195 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008564/0.1404, allocations: 0.7378 MB / 0.6202 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.1407, allocations: 164.7 kB / 0.6203 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=37): time 2.244e-06/0.1407, allocations: 0 / 0.6203 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of matching and sorting (n=37): time 0.0007304/0.1414, allocations: 409.2 kB / 0.6207 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.1414, allocations: 55.41 kB / 0.6208 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1417, allocations: 386.7 kB / 0.6211 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1417, allocations: 33.7 kB / 0.6212 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.1418, allocations: 279.2 kB / 0.6214 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.721e-05/0.1419, allocations: 130.9 kB / 0.6216 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.142, allocations: 79.72 kB / 0.6216 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1421, allocations: 0.5235 MB / 0.6222 GB, free: 6.812 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1422, allocations: 90.41 kB / 0.6222 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1424, allocations: 161.6 kB / 0.6224 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.1427, allocations: 244.1 kB / 0.6226 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1427, allocations: 0 / 0.6226 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004937/0.1432, allocations: 409.1 kB / 0.623 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.1432, allocations: 41.69 kB / 0.6231 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1432, allocations: 0 / 0.6231 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.1434, allocations: 43.81 kB / 0.6231 GB, free: 5.746 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.1435, allocations: 79.83 kB / 0.6232 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.1446, allocations: 1.822 MB / 0.625 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.1447, allocations: 35.81 kB / 0.625 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.1447, allocations: 19.98 kB / 0.625 GB, free: 3.668 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.0001202/0.1448, allocations: 176.5 kB / 0.6252 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.027e-05/0.1449, allocations: 63.59 kB / 0.6252 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.1455, allocations: 451.3 kB / 0.6257 GB, free: 2.973 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1455, allocations: 8 kB / 0.6257 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.1455, allocations: 0 / 0.6257 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1455, allocations: 3.984 kB / 0.6257 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000811/0.1463, allocations: 0.8088 MB / 0.6265 GB, free: 2.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1463, allocations: 0 / 0.6265 GB, free: 2.098 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.1464, allocations: 55.91 kB / 0.6265 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.1465, allocations: 47.7 kB / 0.6266 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.1466, allocations: 19.92 kB / 0.6266 GB, free: 1.973 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007658/0.1473, allocations: 1.818 MB / 0.6284 GB, free: 32 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1473, allocations: 3.938 kB / 0.6284 GB, free: 28 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005828/0.1479, allocations: 0.5461 MB / 0.6289 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.148, allocations: 75.64 kB / 0.629 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.148, allocations: 15.89 kB / 0.629 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1481, allocations: 15.98 kB / 0.629 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.1482, allocations: 35.94 kB / 0.629 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.1482, allocations: 15.98 kB / 0.6291 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001597/0.1484, allocations: 259.1 kB / 0.6293 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1484, allocations: 0 / 0.6293 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003631/0.1488, allocations: 175.7 kB / 0.6295 GB, free: 14.86 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.000281/0.149, allocations: 242.2 kB / 0.6297 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005085/0.1495, allocations: 485.8 kB / 0.6302 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1495, allocations: 0 / 0.6302 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.1498, allocations: 308.9 kB / 0.6305 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.1503, allocations: 195.5 kB / 0.6306 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.1519, allocations: 0.8142 MB / 0.6314 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.744e-05/0.1519, allocations: 113.8 kB / 0.6315 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001868/0.1521, allocations: 79.69 kB / 0.6316 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.11e-05/0.1522, allocations: 48.48 kB / 0.6317 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of SimCode: time 8.61e-07/0.1522, allocations: 4 kB / 0.6317 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.01093/0.1631, allocations: 9.307 MB / 0.6408 GB, free: 3.383 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.117057377006859]