Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001416/0.001416, allocations: 92.22 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.001411/0.001411, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.05/1.05, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6694/0.6694, allocations: 118.6 MB / 378.6 MB, free: 1.473 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 483.6 MB, free: 8.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.903e-05, allocations: 2.312 kB / 483.6 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.1169/0.1169, allocations: 129.5 MB / 0.5988 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008976/0.1178, allocations: 0.7397 MB / 0.5995 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.118, allocations: 19.81 kB / 0.5995 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.1183, allocations: 71.42 kB / 0.5996 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.1187, allocations: 150.9 kB / 0.5997 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1189, allocations: 123.5 kB / 0.5998 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.1192, allocations: 362.3 kB / 0.6002 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1194, allocations: 40.98 kB / 0.6002 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.1197, allocations: 239.2 kB / 0.6005 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.1199, allocations: 115.6 kB / 0.6006 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.1199, allocations: 20 kB / 0.6006 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.1201, allocations: 99.77 kB / 0.6007 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.1202, allocations: 35.8 kB / 0.6007 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.711e-05/0.1202, allocations: 67.84 kB / 0.6008 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.1206, allocations: 255 kB / 0.601 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1206, allocations: 0 / 0.601 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1206, allocations: 0 / 0.601 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.1206, allocations: 0 / 0.601 GB, free: 12.4 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.0007577/0.1214, allocations: 0.6215 MB / 0.6016 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1214, allocations: 12.03 kB / 0.6016 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/0.1215, allocations: 44.73 kB / 0.6017 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.1218, allocations: 291.2 kB / 0.602 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1218, allocations: 8.375 kB / 0.602 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.1219, allocations: 20.33 kB / 0.602 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.1221, allocations: 165.9 kB / 0.6021 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1221, allocations: 3.938 kB / 0.6022 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1222, allocations: 0 / 0.6022 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1222, allocations: 4 kB / 0.6022 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-05/0.1223, allocations: 39.91 kB / 0.6022 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007619/0.123, allocations: 0.8898 MB / 0.6031 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1231, allocations: 51.05 kB / 0.6031 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.1232, allocations: 23.8 kB / 0.6031 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.773e-05/0.1232, allocations: 4 kB / 0.6031 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.1234, allocations: 80.89 kB / 0.6032 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.916e-06/0.1234, allocations: 3.984 kB / 0.6032 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002114/0.1236, allocations: 105.5 kB / 0.6033 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.1236, allocations: 51.41 kB / 0.6034 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.1238, allocations: 326.3 kB / 0.6037 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1238, allocations: 29.7 kB / 0.6037 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.124, allocations: 218.5 kB / 0.6039 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.124, allocations: 31.77 kB / 0.6039 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.124, allocations: 43.38 kB / 0.604 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1242, allocations: 0.5156 MB / 0.6045 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.029e-05/0.1242, allocations: 45.69 kB / 0.6045 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.359e-05/0.1243, allocations: 107.7 kB / 0.6046 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1244, allocations: 119.8 kB / 0.6048 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1244, allocations: 3.984 kB / 0.6048 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002212/0.1247, allocations: 196.7 kB / 0.6049 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.1247, allocations: 37.7 kB / 0.605 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1247, allocations: 0 / 0.605 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1247, allocations: 8.156 kB / 0.605 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1248, allocations: 35.91 kB / 0.605 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1248, allocations: 0 / 0.605 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.984e-05/0.1249, allocations: 19.83 kB / 0.605 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1249, allocations: 12 kB / 0.6051 GB, free: 7.93 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 8.906e-05/0.125, allocations: 168.5 kB / 0.6052 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.125, allocations: 23.86 kB / 0.6052 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.1252, allocations: 96.3 kB / 0.6053 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1252, allocations: 0 / 0.6053 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1252, allocations: 4 kB / 0.6053 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1252, allocations: 0 / 0.6053 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.1254, allocations: 196.5 kB / 0.6055 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1254, allocations: 0 / 0.6055 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-05/0.1254, allocations: 15.98 kB / 0.6055 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1254, allocations: 0 / 0.6055 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1254, allocations: 4 kB / 0.6055 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1254, allocations: 3.938 kB / 0.6055 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1254, allocations: 0 / 0.6055 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.1256, allocations: 140.2 kB / 0.6057 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.1257, allocations: 27.81 kB / 0.6057 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1257, allocations: 12.02 kB / 0.6057 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.677e-05/0.1257, allocations: 8 kB / 0.6057 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.1258, allocations: 11.97 kB / 0.6057 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.1258, allocations: 0 / 0.6057 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001377/0.1259, allocations: 219 kB / 0.6059 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1259, allocations: 0 / 0.6059 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002349/0.1262, allocations: 47.89 kB / 0.606 GB, free: 6.898 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.0001408/0.1263, allocations: 115.1 kB / 0.6061 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1265, allocations: 152.6 kB / 0.6062 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.1265, allocations: 0 / 0.6062 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.635e-05/0.1265, allocations: 27.67 kB / 0.6063 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.1268, allocations: 73.47 kB / 0.6063 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009334/0.1278, allocations: 447.2 kB / 0.6068 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.682e-05/0.1278, allocations: 80.31 kB / 0.6068 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.505e-05/0.1279, allocations: 21.95 kB / 0.6069 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.1279, allocations: 24.48 kB / 0.6069 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of SimCode: time 3.6e-07/0.1279, allocations: 0 / 0.6069 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of Templates: time 0.005131/0.1331, allocations: 2.614 MB / 0.6094 GB, free: 3.383 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.8556848862208426]