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.0009322/0.0009322, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.000957/0.000957, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9852/0.9852, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.6951/0.6951, allocations: 118.6 MB / 379.7 MB, free: 1.387 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.373e-06/1.373e-06, allocations: 0 / 484.8 MB, free: 8.152 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.747e-05, allocations: 2.312 kB / 484.8 MB, free: 8.148 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1132/0.1132, allocations: 128.2 MB / 0.5987 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.115, allocations: 1.761 MB / 0.6004 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.1152, allocations: 23.75 kB / 0.6004 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.1156, allocations: 127 kB / 0.6006 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005909/0.1162, allocations: 429.1 kB / 0.601 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.1167, allocations: 271.1 kB / 0.6012 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.1172, allocations: 0.8308 MB / 0.602 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1174, allocations: 71.12 kB / 0.6021 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005346/0.1179, allocations: 474.5 kB / 0.6026 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.1182, allocations: 327.1 kB / 0.6029 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.1183, allocations: 32 kB / 0.6029 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.1186, allocations: 247.7 kB / 0.6031 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.127e-05/0.1187, allocations: 99.48 kB / 0.6032 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.1188, allocations: 171.5 kB / 0.6034 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.1193, allocations: 0.5411 MB / 0.6039 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1194, allocations: 0 / 0.6039 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1194, allocations: 0 / 0.6039 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1194, allocations: 0 / 0.6039 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.0009238/0.1203, allocations: 0.8798 MB / 0.6048 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1203, allocations: 12.03 kB / 0.6048 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.1205, allocations: 104.5 kB / 0.6049 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.1209, allocations: 381.1 kB / 0.6053 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.1209, allocations: 25.38 kB / 0.6053 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.1209, allocations: 36.38 kB / 0.6053 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.1213, allocations: 319.4 kB / 0.6056 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1213, allocations: 192 / 0.6056 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.1213, allocations: 20.11 kB / 0.6056 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1213, allocations: 8 kB / 0.6056 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1215, allocations: 136.4 kB / 0.6058 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.1226, allocations: 1.381 MB / 0.6071 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.1229, allocations: 227 kB / 0.6073 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.123, allocations: 91.61 kB / 0.6074 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007844/0.1238, allocations: 0.7105 MB / 0.6081 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.124, allocations: 148.9 kB / 0.6083 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 1.873e-06/0.124, allocations: 0 / 0.6083 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.0005744/0.1246, allocations: 376.9 kB / 0.6086 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.1246, allocations: 59.41 kB / 0.6087 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1248, allocations: 370.5 kB / 0.609 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1248, allocations: 41.64 kB / 0.6091 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.1249, allocations: 283.1 kB / 0.6093 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.387e-05/0.125, allocations: 126.9 kB / 0.6095 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/0.1251, allocations: 79.69 kB / 0.6095 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1252, allocations: 0.5234 MB / 0.61 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.799e-05/0.1253, allocations: 82.41 kB / 0.6101 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1254, allocations: 149.6 kB / 0.6103 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.1256, allocations: 212.1 kB / 0.6105 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1256, allocations: 4 kB / 0.6105 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003892/0.126, allocations: 393.1 kB / 0.6109 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.126, allocations: 33.7 kB / 0.6109 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.126, allocations: 0 / 0.6109 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.1261, allocations: 39.64 kB / 0.6109 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.1263, allocations: 75.84 kB / 0.611 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008106/0.1271, allocations: 1.803 MB / 0.6128 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.1272, allocations: 35.73 kB / 0.6128 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.1272, allocations: 19.98 kB / 0.6128 GB, free: 0.8477 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.0001116/0.1273, allocations: 176.5 kB / 0.613 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/0.1274, allocations: 63.66 kB / 0.613 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004502/0.1279, allocations: 421.3 kB / 0.6134 GB, free: 184 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1279, allocations: 4 kB / 0.6134 GB, free: 180 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1279, allocations: 4 kB / 0.6134 GB, free: 176 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1279, allocations: 3.984 kB / 0.6134 GB, free: 172 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.1286, allocations: 0.7236 MB / 0.6142 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1286, allocations: 0 / 0.6142 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.1287, allocations: 63.91 kB / 0.6142 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.1288, allocations: 47.53 kB / 0.6143 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.1288, allocations: 8 kB / 0.6143 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007236/0.1295, allocations: 1.8 MB / 0.616 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1295, allocations: 0 / 0.616 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.13, allocations: 0.504 MB / 0.6165 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.78e-05/0.1301, allocations: 83.55 kB / 0.6166 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1301, allocations: 12 kB / 0.6166 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1302, allocations: 15.92 kB / 0.6166 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.1303, allocations: 43.73 kB / 0.6167 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.1303, allocations: 16.05 kB / 0.6167 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001149/0.1304, allocations: 251 kB / 0.6169 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.1304, allocations: 0 / 0.6169 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003553/0.1308, allocations: 163.6 kB / 0.6171 GB, free: 12.25 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.0002081/0.131, allocations: 171 kB / 0.6172 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004251/0.1314, allocations: 456.7 kB / 0.6177 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1314, allocations: 0 / 0.6177 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.1316, allocations: 297.2 kB / 0.618 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.1321, allocations: 189.2 kB / 0.6181 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.1334, allocations: 0.8044 MB / 0.6189 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.941e-05/0.1335, allocations: 113.8 kB / 0.619 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001914/0.1337, allocations: 91.06 kB / 0.6191 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.1339, allocations: 210 kB / 0.6193 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of SimCode: time 9.72e-07/0.1339, allocations: 0 / 0.6193 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of Templates: time 0.01106/0.145, allocations: 9.25 MB / 0.6284 GB, free: 0.7812 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.9518469981849194]