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.001002/0.001002, 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.001611/0.001611, 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.9722/0.9722, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.6643/0.6643, allocations: 118.6 MB / 378.9 MB, free: 1.395 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.944e-06/1.944e-06, allocations: 0 / 484.1 MB, free: 8.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.728e-05, allocations: 3.438 kB / 484.1 MB, free: 8.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1345/0.1345, allocations: 128.2 MB / 0.5979 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.1363, allocations: 1.765 MB / 0.5996 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.1365, allocations: 23.75 kB / 0.5997 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.1368, allocations: 119 kB / 0.5998 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005535/0.1374, allocations: 437 kB / 0.6002 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.1378, allocations: 271.1 kB / 0.6005 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005345/0.1383, allocations: 0.8231 MB / 0.6013 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1385, allocations: 79.12 kB / 0.6013 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005457/0.139, allocations: 470.6 kB / 0.6018 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.1393, allocations: 327.1 kB / 0.6021 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.1393, allocations: 32 kB / 0.6021 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.1396, allocations: 247.6 kB / 0.6024 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.643e-05/0.1397, allocations: 95.55 kB / 0.6025 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.1398, allocations: 175.5 kB / 0.6026 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005458/0.1404, allocations: 0.5411 MB / 0.6032 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1404, allocations: 0 / 0.6032 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1404, allocations: 0 / 0.6032 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.1404, allocations: 0 / 0.6032 GB, free: 10.43 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.001206/0.1416, allocations: 0.8837 MB / 0.604 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1416, allocations: 12.03 kB / 0.604 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.1418, allocations: 96.5 kB / 0.6041 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.1422, allocations: 389.1 kB / 0.6045 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.1422, allocations: 25.38 kB / 0.6045 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.1422, allocations: 36.38 kB / 0.6045 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.1425, allocations: 319.4 kB / 0.6049 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.1425, allocations: 192 / 0.6049 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.1426, allocations: 16.12 kB / 0.6049 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1426, allocations: 8 kB / 0.6049 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.1427, allocations: 144.3 kB / 0.605 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.1438, allocations: 1.374 MB / 0.6064 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.1441, allocations: 226 kB / 0.6066 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.1442, allocations: 83.62 kB / 0.6067 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007839/0.145, allocations: 0.7442 MB / 0.6074 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.1452, allocations: 141 kB / 0.6075 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 2.325e-06/0.1452, allocations: 0 / 0.6075 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.0005793/0.1457, allocations: 376.9 kB / 0.6079 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.1458, allocations: 59.41 kB / 0.6079 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.146, allocations: 378.5 kB / 0.6083 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.146, allocations: 33.7 kB / 0.6083 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1461, allocations: 275.1 kB / 0.6086 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/0.1462, allocations: 134.9 kB / 0.6087 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.1463, allocations: 83.69 kB / 0.6088 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1464, allocations: 0.5234 MB / 0.6093 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.813e-05/0.1465, allocations: 74.41 kB / 0.6094 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.1466, allocations: 153.5 kB / 0.6095 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.1468, allocations: 216.1 kB / 0.6097 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1468, allocations: 0 / 0.6097 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003861/0.1472, allocations: 393.1 kB / 0.6101 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.1472, allocations: 33.7 kB / 0.6101 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1472, allocations: 7.938 kB / 0.6101 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001409/0.1473, allocations: 31.66 kB / 0.6102 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1475, allocations: 84.05 kB / 0.6103 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.1486, allocations: 1.803 MB / 0.612 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.1487, allocations: 39.73 kB / 0.612 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.1487, allocations: 15.98 kB / 0.6121 GB, free: 0.832 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.0001062/0.1488, allocations: 176.5 kB / 0.6122 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.1489, allocations: 67.75 kB / 0.6123 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004509/0.1494, allocations: 424.5 kB / 0.6127 GB, free: 160 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1494, allocations: 4 kB / 0.6127 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.1494, allocations: 0 / 0.6127 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.1494, allocations: 7.984 kB / 0.6127 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006908/0.1501, allocations: 0.7236 MB / 0.6134 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1501, allocations: 0 / 0.6134 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.1502, allocations: 59.91 kB / 0.6135 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/0.1503, allocations: 47.53 kB / 0.6135 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.1503, allocations: 12 kB / 0.6135 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006892/0.151, allocations: 1.796 MB / 0.6153 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.151, allocations: 0 / 0.6153 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.1514, allocations: 0.5079 MB / 0.6158 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.1515, allocations: 83.55 kB / 0.6159 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.1515, allocations: 8 kB / 0.6159 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1516, allocations: 15.92 kB / 0.6159 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.1517, allocations: 43.8 kB / 0.6159 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.1517, allocations: 15.98 kB / 0.6159 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001159/0.1518, allocations: 251 kB / 0.6162 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.1518, allocations: 0 / 0.6162 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003153/0.1522, allocations: 167.6 kB / 0.6163 GB, free: 12.23 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.0002049/0.1524, allocations: 167 kB / 0.6165 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003969/0.1528, allocations: 456.7 kB / 0.6169 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1528, allocations: 4 kB / 0.6169 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.1529, allocations: 297.2 kB / 0.6172 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.1534, allocations: 194.5 kB / 0.6174 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.1549, allocations: 0.7985 MB / 0.6182 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.072e-05/0.1549, allocations: 109.8 kB / 0.6183 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001621/0.1551, allocations: 87.06 kB / 0.6184 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.1553, allocations: 210.1 kB / 0.6186 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of SimCode: time 8.62e-07/0.1553, allocations: 0 / 0.6186 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of Templates: time 0.01043/0.1658, allocations: 9.099 MB / 0.6275 GB, free: 0.8945 MB / 0.5417 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: 3.9238486350513995]