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.0008974/0.0008974, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009259/0.0009259, allocations: 165 kB / 23.02 MB, free: 1.547 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.9036/0.9036, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.6268/0.6268, allocations: 118.7 MB / 378.6 MB, free: 1.5 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.182e-06/1.182e-06, allocations: 0 / 483.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.567e-05, allocations: 2.312 kB / 483.6 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.112/0.112, allocations: 129.6 MB / 0.5988 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008192/0.1129, allocations: 0.7437 MB / 0.5995 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.113, allocations: 19.81 kB / 0.5995 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.1134, allocations: 63.42 kB / 0.5996 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.1137, allocations: 162.9 kB / 0.5998 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.1139, allocations: 115.6 kB / 0.5999 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.1142, allocations: 358.3 kB / 0.6002 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1143, allocations: 57.16 kB / 0.6003 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.1147, allocations: 239.1 kB / 0.6005 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.1148, allocations: 107.7 kB / 0.6006 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.1148, allocations: 16 kB / 0.6006 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.115, allocations: 103.8 kB / 0.6007 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.365e-05/0.115, allocations: 39.78 kB / 0.6007 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.1151, allocations: 63.84 kB / 0.6008 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.1154, allocations: 251 kB / 0.601 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1154, allocations: 0 / 0.601 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1154, allocations: 0 / 0.601 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.1154, allocations: 0 / 0.601 GB, free: 12.44 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.0006819/0.1161, allocations: 0.6254 MB / 0.6017 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.1161, allocations: 12.03 kB / 0.6017 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.1162, allocations: 40.75 kB / 0.6017 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.1165, allocations: 291.2 kB / 0.602 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1165, allocations: 8.375 kB / 0.602 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.1166, allocations: 16.33 kB / 0.602 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.1168, allocations: 169.9 kB / 0.6022 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1168, allocations: 3.938 kB / 0.6022 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1168, allocations: 8 kB / 0.6022 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1168, allocations: 4 kB / 0.6022 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.068e-05/0.1169, allocations: 41.59 kB / 0.6022 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009309/0.1178, allocations: 0.8898 MB / 0.6031 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.1179, allocations: 47.05 kB / 0.6031 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.118, allocations: 23.8 kB / 0.6032 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.204e-05/0.118, allocations: 7.984 kB / 0.6032 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.1181, allocations: 76.97 kB / 0.6032 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1181, allocations: 0 / 0.6032 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.00018/0.1183, allocations: 97.48 kB / 0.6033 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.1183, allocations: 63.41 kB / 0.6034 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1185, allocations: 322.3 kB / 0.6037 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.1185, allocations: 25.7 kB / 0.6037 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.1186, allocations: 230.5 kB / 0.6039 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.1187, allocations: 23.8 kB / 0.604 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.1187, allocations: 39.36 kB / 0.604 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1188, allocations: 0.5078 MB / 0.6045 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.952e-05/0.1189, allocations: 45.62 kB / 0.6045 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.1189, allocations: 111.7 kB / 0.6046 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.8e-05/0.119, allocations: 123.8 kB / 0.6048 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.119, allocations: 4 kB / 0.6048 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001805/0.1192, allocations: 204.7 kB / 0.605 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.1192, allocations: 32.52 kB / 0.605 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1192, allocations: 4 kB / 0.605 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1193, allocations: 160 / 0.605 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1194, allocations: 35.92 kB / 0.605 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1194, allocations: 4 kB / 0.605 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/0.1194, allocations: 27.81 kB / 0.6051 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1194, allocations: 4 kB / 0.6051 GB, free: 7.973 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 7.913e-05/0.1195, allocations: 164.5 kB / 0.6052 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.1195, allocations: 27.86 kB / 0.6053 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.1197, allocations: 92.33 kB / 0.6053 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1197, allocations: 4 kB / 0.6053 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1197, allocations: 4 kB / 0.6053 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1197, allocations: 0 / 0.6053 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.1198, allocations: 200.4 kB / 0.6055 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1198, allocations: 0 / 0.6055 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.1199, allocations: 15.98 kB / 0.6056 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1199, allocations: 0 / 0.6056 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1199, allocations: 4 kB / 0.6056 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.1199, allocations: 0 / 0.6056 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1199, allocations: 0 / 0.6056 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.12, allocations: 144.5 kB / 0.6057 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.1201, allocations: 27.8 kB / 0.6057 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.1201, allocations: 8.031 kB / 0.6057 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.569e-05/0.1201, allocations: 11.98 kB / 0.6057 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.1202, allocations: 3.984 kB / 0.6057 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.1202, allocations: 4 kB / 0.6057 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001141/0.1203, allocations: 223 kB / 0.606 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1203, allocations: 0 / 0.606 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001727/0.1205, allocations: 51.83 kB / 0.606 GB, free: 6.934 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.0001229/0.1206, allocations: 107.2 kB / 0.6061 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.1207, allocations: 156.7 kB / 0.6063 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.1207, allocations: 0 / 0.6063 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.1208, allocations: 31.66 kB / 0.6063 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.121, allocations: 61.36 kB / 0.6064 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008174/0.1219, allocations: 448.2 kB / 0.6068 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.1219, allocations: 76.33 kB / 0.6069 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.314e-05/0.122, allocations: 25.94 kB / 0.6069 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.122, allocations: 20.5 kB / 0.6069 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of SimCode: time 6.82e-07/0.122, allocations: 0 / 0.6069 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of Templates: time 0.004351/0.1264, allocations: 2.612 MB / 0.6094 GB, free: 3.422 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.6179684568196535]