Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.001225/0.001225, allocations: 73.09 kB / 20.65 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.001517/0.001517, allocations: 169 kB / 24.06 MB, free: 452 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.9276/0.9276, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7084/0.7084, allocations: 118.6 MB / 379.7 MB, free: 1.352 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.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 484.8 MB, free: 8.109 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.06e-05, allocations: 5.922 kB / 484.9 MB, free: 8.105 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1254/0.1254, allocations: 127.9 MB / 0.5984 GB, free: 32 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1266, allocations: 1.033 MB / 0.5994 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.1268, allocations: 39.62 kB / 0.5995 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.1272, allocations: 142.9 kB / 0.5996 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004635/0.1277, allocations: 317.8 kB / 0.5999 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.1279, allocations: 195.4 kB / 0.6001 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.1285, allocations: 0.7541 MB / 0.6008 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1287, allocations: 77.7 kB / 0.6009 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005157/0.1292, allocations: 446.7 kB / 0.6013 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.1295, allocations: 275.2 kB / 0.6016 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.1295, allocations: 24 kB / 0.6016 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.1297, allocations: 143.7 kB / 0.6017 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.1298, allocations: 71.62 kB / 0.6018 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1299, allocations: 143.6 kB / 0.6019 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.1303, allocations: 446.2 kB / 0.6024 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1304, allocations: 4 kB / 0.6024 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1304, allocations: 0 / 0.6024 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1304, allocations: 0 / 0.6024 GB, free: 11.95 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007182/0.1311, allocations: 0.8339 MB / 0.6032 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.1311, allocations: 8.031 kB / 0.6032 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.262e-05/0.1312, allocations: 80.56 kB / 0.6033 GB, free: 11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.1316, allocations: 454.2 kB / 0.6037 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1316, allocations: 17.03 kB / 0.6037 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.1317, allocations: 28.38 kB / 0.6038 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.1319, allocations: 280.8 kB / 0.604 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.1319, allocations: 7.938 kB / 0.604 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.1319, allocations: 16 kB / 0.604 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1319, allocations: 8 kB / 0.6041 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.132, allocations: 87.67 kB / 0.6041 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.1331, allocations: 1.772 MB / 0.6059 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.1333, allocations: 153.3 kB / 0.606 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.1333, allocations: 47.08 kB / 0.6061 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001836/0.1335, allocations: 47.94 kB / 0.6061 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1335, allocations: 41.38 kB / 0.6061 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.1335, allocations: 0 / 0.6061 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0003362/0.1339, allocations: 200.8 kB / 0.6063 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1339, allocations: 110.8 kB / 0.6064 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.1341, allocations: 426.4 kB / 0.6068 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.1342, allocations: 29.69 kB / 0.6069 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.1343, allocations: 319.1 kB / 0.6072 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.1343, allocations: 55.47 kB / 0.6072 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/0.1344, allocations: 59.16 kB / 0.6073 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1345, allocations: 0.5312 MB / 0.6078 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.11e-05/0.1345, allocations: 15.98 kB / 0.6078 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.256e-05/0.1346, allocations: 89.77 kB / 0.6079 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1347, allocations: 129.7 kB / 0.608 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1347, allocations: 0 / 0.608 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001996/0.1349, allocations: 208.8 kB / 0.6082 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1349, allocations: 7.938 kB / 0.6082 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1349, allocations: 4 kB / 0.6082 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.319e-05/0.135, allocations: 23.8 kB / 0.6083 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.1351, allocations: 43.92 kB / 0.6083 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007085/0.1358, allocations: 1.709 MB / 0.61 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.345e-05/0.1359, allocations: 27.97 kB / 0.61 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1359, allocations: 12 kB / 0.61 GB, free: 3.617 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.471e-05/0.136, allocations: 168.5 kB / 0.6102 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.1361, allocations: 47.66 kB / 0.6102 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.1363, allocations: 184.7 kB / 0.6104 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1363, allocations: 8 kB / 0.6104 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1363, allocations: 4 kB / 0.6104 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1363, allocations: 3.938 kB / 0.6104 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.1365, allocations: 221 kB / 0.6106 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1365, allocations: 0 / 0.6106 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.859e-05/0.1366, allocations: 27.98 kB / 0.6106 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.928e-05/0.1367, allocations: 31.61 kB / 0.6107 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.1367, allocations: 0 / 0.6107 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006274/0.1373, allocations: 1.724 MB / 0.6124 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1373, allocations: 3.984 kB / 0.6124 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.1376, allocations: 446.2 kB / 0.6128 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.1376, allocations: 51.64 kB / 0.6128 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.1376, allocations: 11.94 kB / 0.6129 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.1377, allocations: 12.05 kB / 0.6129 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.1377, allocations: 15.98 kB / 0.6129 GB, free: 496 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.1378, allocations: 7.984 kB / 0.6129 GB, free: 488 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001316/0.1379, allocations: 278.7 kB / 0.6132 GB, free: 208 kB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.1379, allocations: 0 / 0.6132 GB, free: 208 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002626/0.1382, allocations: 99.78 kB / 0.6132 GB, free: 108 kB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001542/0.1383, allocations: 115.3 kB / 0.6134 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.1386, allocations: 268.6 kB / 0.6136 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.1386, allocations: 3.938 kB / 0.6136 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.1387, allocations: 221.4 kB / 0.6138 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.1392, allocations: 138.3 kB / 0.614 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1402, allocations: 0.7808 MB / 0.6147 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.384e-05/0.1402, allocations: 101.3 kB / 0.6148 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.1403, allocations: 58.92 kB / 0.6149 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.1405, allocations: 166.1 kB / 0.615 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of SimCode: time 6.32e-07/0.1405, allocations: 0 / 0.615 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of Templates: time 0.007057/0.1476, allocations: 5.192 MB / 0.6201 GB, free: 9.164 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_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.7043078658171]