Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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.001066/0.001066, allocations: 81.95 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.00153/0.00153, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9321/0.9321, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.6804/0.6804, allocations: 118.7 MB / 378.9 MB, free: 1.398 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.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") translateModel(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 484.1 MB, free: 8.113 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.226e-05, allocations: 6.562 kB / 484.1 MB, free: 8.109 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.1255/0.1255, allocations: 126.6 MB / 0.5964 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008582/0.1264, allocations: 0.7358 MB / 0.5971 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.1265, allocations: 23.75 kB / 0.5971 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.1269, allocations: 67.5 kB / 0.5972 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.1272, allocations: 162.8 kB / 0.5973 GB, free: 428 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.1275, allocations: 111.6 kB / 0.5974 GB, free: 316 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.1278, allocations: 370.3 kB / 0.5978 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1279, allocations: 41.16 kB / 0.5978 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00044/0.1284, allocations: 263.1 kB / 0.5981 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.1285, allocations: 107.7 kB / 0.5982 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.1285, allocations: 12 kB / 0.5982 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.1287, allocations: 103.8 kB / 0.5983 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.1288, allocations: 39.78 kB / 0.5983 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.1288, allocations: 67.78 kB / 0.5984 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.1292, allocations: 247 kB / 0.5986 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1292, allocations: 0 / 0.5986 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1292, allocations: 4 kB / 0.5986 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.1292, allocations: 0 / 0.5986 GB, free: 15.07 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006825/0.1298, allocations: 0.637 MB / 0.5993 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1299, allocations: 8.031 kB / 0.5993 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.1299, allocations: 40.75 kB / 0.5993 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.1302, allocations: 287.2 kB / 0.5996 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1302, allocations: 8.375 kB / 0.5996 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.1303, allocations: 16.33 kB / 0.5996 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.1305, allocations: 161.9 kB / 0.5998 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1305, allocations: 11.94 kB / 0.5998 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1305, allocations: 4 kB / 0.5998 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1305, allocations: 4 kB / 0.5998 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.374e-05/0.1305, allocations: 31.91 kB / 0.5998 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/0.1312, allocations: 0.8858 MB / 0.6007 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.553e-05/0.1313, allocations: 55.02 kB / 0.6007 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/0.1313, allocations: 23.81 kB / 0.6008 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.044e-05/0.1314, allocations: 7.984 kB / 0.6008 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.1315, allocations: 80.94 kB / 0.6008 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1315, allocations: 0 / 0.6008 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0001584/0.1316, allocations: 93.48 kB / 0.6009 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.1317, allocations: 55.41 kB / 0.601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1318, allocations: 322.1 kB / 0.6013 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1318, allocations: 29.7 kB / 0.6013 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.132, allocations: 226.4 kB / 0.6015 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.132, allocations: 23.78 kB / 0.6016 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.132, allocations: 47.34 kB / 0.6016 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1322, allocations: 0.5117 MB / 0.6021 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.775e-05/0.1322, allocations: 37.69 kB / 0.6021 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.835e-05/0.1322, allocations: 103.6 kB / 0.6022 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/0.1323, allocations: 119.7 kB / 0.6023 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1323, allocations: 0 / 0.6023 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001623/0.1325, allocations: 204.1 kB / 0.6025 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.1325, allocations: 33.7 kB / 0.6026 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1325, allocations: 0 / 0.6026 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1325, allocations: 4 kB / 0.6026 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.1326, allocations: 27.92 kB / 0.6026 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1326, allocations: 4 kB / 0.6026 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.1327, allocations: 27.81 kB / 0.6026 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1327, allocations: 4 kB / 0.6026 GB, free: 10.64 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.198e-05/0.1328, allocations: 168.7 kB / 0.6028 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.1328, allocations: 31.84 kB / 0.6028 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.1329, allocations: 88.34 kB / 0.6029 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1329, allocations: 0 / 0.6029 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1329, allocations: 0 / 0.6029 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1329, allocations: 0 / 0.6029 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.1331, allocations: 161 kB / 0.6031 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1331, allocations: 0 / 0.6031 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.186e-05/0.1331, allocations: 19.98 kB / 0.6031 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1331, allocations: 0 / 0.6031 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1331, allocations: 7.938 kB / 0.6031 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1331, allocations: 0 / 0.6031 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1331, allocations: 0 / 0.6031 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.1332, allocations: 140.1 kB / 0.6032 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.1333, allocations: 31.8 kB / 0.6033 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1333, allocations: 0 / 0.6033 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.336e-05/0.1333, allocations: 15.98 kB / 0.6033 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.1334, allocations: 7.984 kB / 0.6033 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1334, allocations: 0 / 0.6033 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.401e-05/0.1335, allocations: 210.9 kB / 0.6035 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.1335, allocations: 4.031 kB / 0.6035 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001615/0.1336, allocations: 51.89 kB / 0.6035 GB, free: 9.656 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalSource.p) * 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001328/0.1338, allocations: 103.2 kB / 0.6036 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.1339, allocations: 148.6 kB / 0.6038 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1339, allocations: 0 / 0.6038 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.1339, allocations: 23.67 kB / 0.6038 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.1342, allocations: 69.89 kB / 0.6039 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007293/0.1349, allocations: 455.2 kB / 0.6043 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.977e-05/0.1349, allocations: 72.33 kB / 0.6044 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.056e-05/0.135, allocations: 25.94 kB / 0.6044 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.1351, allocations: 126.2 kB / 0.6045 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of SimCode: time 3.81e-07/0.1351, allocations: 0 / 0.6045 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of Templates: time 0.004493/0.1396, allocations: 2.842 MB / 0.6073 GB, free: 5.816 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.TerminalSourceSink_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.5273400340229273]