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.0009504/0.0009504, allocations: 88.22 kB / 19.65 MB, free: 272 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.001058/0.001058, allocations: 173 kB / 23.02 MB, free: 1.539 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.9503/0.9503, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.6527/0.6527, allocations: 118.6 MB / 378.6 MB, free: 1.516 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.232e-06/1.232e-06, allocations: 0 / 483.6 MB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.726e-05, allocations: 5.125 kB / 483.6 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1197/0.1197, allocations: 131.2 MB / 0.6004 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.122, allocations: 1.769 MB / 0.6021 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.1222, allocations: 27.75 kB / 0.6021 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.1227, allocations: 115 kB / 0.6022 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006876/0.1234, allocations: 429.1 kB / 0.6026 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.1239, allocations: 279 kB / 0.6029 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000614/0.1245, allocations: 0.8231 MB / 0.6037 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.1247, allocations: 78.69 kB / 0.6038 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005137/0.1252, allocations: 474.6 kB / 0.6042 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.1255, allocations: 319.1 kB / 0.6045 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.222e-05/0.1256, allocations: 36 kB / 0.6046 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.1259, allocations: 255.6 kB / 0.6048 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.145e-05/0.126, allocations: 91.56 kB / 0.6049 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1261, allocations: 179.5 kB / 0.6051 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005583/0.1267, allocations: 0.5372 MB / 0.6056 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1267, allocations: 0 / 0.6056 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1267, allocations: 0 / 0.6056 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.1267, allocations: 4 kB / 0.6056 GB, free: 7.754 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.0009842/0.1277, allocations: 0.876 MB / 0.6064 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1277, allocations: 8.031 kB / 0.6065 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.1278, allocations: 100.5 kB / 0.6066 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.1282, allocations: 385.1 kB / 0.6069 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.1283, allocations: 29.38 kB / 0.6069 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.1283, allocations: 32.36 kB / 0.607 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.1287, allocations: 343.4 kB / 0.6073 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1287, allocations: 4.125 kB / 0.6073 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.1288, allocations: 16.12 kB / 0.6073 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.1288, allocations: 8 kB / 0.6073 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.129, allocations: 183.7 kB / 0.6075 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.1304, allocations: 1.436 MB / 0.6089 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.1308, allocations: 241.8 kB / 0.6091 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.1309, allocations: 103.6 kB / 0.6092 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008327/0.1317, allocations: 0.7028 MB / 0.6099 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.132, allocations: 168.7 kB / 0.6101 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 1.714e-06/0.132, allocations: 0 / 0.6101 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.000707/0.1327, allocations: 413.2 kB / 0.6105 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.1327, allocations: 59.41 kB / 0.6105 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.1329, allocations: 374.7 kB / 0.6109 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1329, allocations: 33.7 kB / 0.6109 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.1331, allocations: 283.2 kB / 0.6112 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.704e-05/0.1331, allocations: 122.9 kB / 0.6113 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-05/0.1332, allocations: 79.72 kB / 0.6114 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1334, allocations: 0.5196 MB / 0.6119 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.1335, allocations: 90.41 kB / 0.612 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.1336, allocations: 161.6 kB / 0.6121 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.1339, allocations: 244.1 kB / 0.6124 GB, free: 480 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1339, allocations: 0 / 0.6124 GB, free: 480 kB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004539/0.1343, allocations: 417.2 kB / 0.6128 GB, free: 40 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.1344, allocations: 37.75 kB / 0.6128 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1344, allocations: 0 / 0.6128 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/0.1345, allocations: 47.52 kB / 0.6128 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.1347, allocations: 79.84 kB / 0.6129 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008288/0.1355, allocations: 1.826 MB / 0.6147 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.1356, allocations: 39.72 kB / 0.6147 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.1357, allocations: 16 kB / 0.6148 GB, free: 13.87 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.0001131/0.1358, allocations: 180.5 kB / 0.6149 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.136, allocations: 67.59 kB / 0.615 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000528/0.1365, allocations: 446.3 kB / 0.6154 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1365, allocations: 4 kB / 0.6154 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1365, allocations: 4 kB / 0.6154 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1365, allocations: 0 / 0.6154 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007997/0.1373, allocations: 0.8011 MB / 0.6162 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1373, allocations: 8.062 kB / 0.6162 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.1374, allocations: 59.91 kB / 0.6163 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.1376, allocations: 43.59 kB / 0.6163 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.1376, allocations: 15.98 kB / 0.6163 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007645/0.1384, allocations: 1.822 MB / 0.6181 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1384, allocations: 3.938 kB / 0.6181 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000538/0.1389, allocations: 0.5383 MB / 0.6186 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/0.139, allocations: 87.53 kB / 0.6187 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.139, allocations: 8 kB / 0.6187 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1391, allocations: 11.98 kB / 0.6187 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.1392, allocations: 39.8 kB / 0.6188 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.1392, allocations: 12 kB / 0.6188 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001544/0.1394, allocations: 267.1 kB / 0.6191 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.1394, allocations: 4 kB / 0.6191 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003164/0.1397, allocations: 159.7 kB / 0.6192 GB, free: 9.074 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.0002351/0.1399, allocations: 178.9 kB / 0.6194 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005094/0.1404, allocations: 469.7 kB / 0.6198 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1404, allocations: 3.938 kB / 0.6198 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.1407, allocations: 313 kB / 0.6201 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.1412, allocations: 192 kB / 0.6203 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.1425, allocations: 0.8141 MB / 0.6211 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.673e-05/0.1426, allocations: 109.8 kB / 0.6212 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.1428, allocations: 87.06 kB / 0.6213 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.208e-05/0.1429, allocations: 44.48 kB / 0.6213 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of SimCode: time 7.11e-07/0.1429, allocations: 3.938 kB / 0.6213 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of Templates: time 0.01171/0.1546, allocations: 8.22 MB / 0.6294 GB, free: 14.71 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.244026076048613]