Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001287/0.001287, 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.001446/0.001446, 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.951/0.951, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.6882/0.6882, 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.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_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_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 484.8 MB, free: 8.121 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.192e-05, allocations: 5.266 kB / 484.8 MB, free: 8.117 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.116/0.116, allocations: 127.9 MB / 0.5984 GB, free: 76 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1171, allocations: 1.041 MB / 0.5994 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.1173, allocations: 35.69 kB / 0.5995 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.1177, allocations: 138.8 kB / 0.5996 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004124/0.1181, allocations: 325.7 kB / 0.5999 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.1183, allocations: 187.4 kB / 0.6001 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005464/0.1189, allocations: 0.758 MB / 0.6008 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.119, allocations: 81.7 kB / 0.6009 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004553/0.1195, allocations: 434.7 kB / 0.6013 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.1197, allocations: 275.3 kB / 0.6016 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.1198, allocations: 28 kB / 0.6016 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.12, allocations: 147.6 kB / 0.6017 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.12, allocations: 75.56 kB / 0.6018 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.62e-05/0.1201, allocations: 143.6 kB / 0.602 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.1205, allocations: 450.2 kB / 0.6024 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1206, allocations: 0 / 0.6024 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1206, allocations: 0 / 0.6024 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.1206, allocations: 0 / 0.6024 GB, free: 11.99 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.0007958/0.1214, allocations: 0.8223 MB / 0.6032 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.1214, allocations: 16.03 kB / 0.6032 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.1215, allocations: 80.56 kB / 0.6033 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.1219, allocations: 446.3 kB / 0.6037 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.122, allocations: 21.03 kB / 0.6037 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.122, allocations: 36.3 kB / 0.6038 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.1223, allocations: 284.8 kB / 0.604 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1223, allocations: 3.938 kB / 0.604 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.1223, allocations: 12 kB / 0.604 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1223, allocations: 4 kB / 0.604 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.45e-05/0.1224, allocations: 75.81 kB / 0.6041 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.1234, allocations: 1.788 MB / 0.6059 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.1236, allocations: 145.2 kB / 0.606 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.079e-05/0.1237, allocations: 47.23 kB / 0.6061 GB, free: 8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.1239, allocations: 55.92 kB / 0.6061 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1239, allocations: 41.33 kB / 0.6061 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.1239, allocations: 0 / 0.6061 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0003496/0.1242, allocations: 196.9 kB / 0.6063 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1243, allocations: 106.8 kB / 0.6064 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.1245, allocations: 430.4 kB / 0.6068 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1245, allocations: 29.7 kB / 0.6069 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.1247, allocations: 319 kB / 0.6072 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.1247, allocations: 67.45 kB / 0.6072 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.1247, allocations: 47.36 kB / 0.6073 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1249, allocations: 0.5273 MB / 0.6078 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.008e-05/0.1249, allocations: 19.98 kB / 0.6078 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/0.125, allocations: 89.77 kB / 0.6079 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.1251, allocations: 117.7 kB / 0.608 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1251, allocations: 0 / 0.608 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002118/0.1253, allocations: 216.9 kB / 0.6082 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1253, allocations: 8 kB / 0.6082 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1253, allocations: 0 / 0.6082 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.15e-05/0.1254, allocations: 23.67 kB / 0.6083 GB, free: 5.574 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-05/0.1255, allocations: 47.92 kB / 0.6083 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006679/0.1262, allocations: 1.709 MB / 0.61 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.654e-05/0.1262, allocations: 19.84 kB / 0.61 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1262, allocations: 8 kB / 0.61 GB, free: 3.676 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.259e-05/0.1263, allocations: 172.4 kB / 0.6102 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.1264, allocations: 51.72 kB / 0.6102 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.1266, allocations: 197.6 kB / 0.6104 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1266, allocations: 0 / 0.6104 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.1266, allocations: 0 / 0.6104 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1266, allocations: 7.938 kB / 0.6104 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.1268, allocations: 225 kB / 0.6106 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1269, allocations: 0 / 0.6106 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.762e-05/0.1269, allocations: 31.98 kB / 0.6107 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.866e-05/0.127, allocations: 23.67 kB / 0.6107 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.127, allocations: 11.94 kB / 0.6107 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006031/0.1276, allocations: 1.712 MB / 0.6124 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1276, allocations: 4 kB / 0.6124 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.1279, allocations: 453.8 kB / 0.6128 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.1279, allocations: 59.62 kB / 0.6129 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.1279, allocations: 3.938 kB / 0.6129 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.128, allocations: 8 kB / 0.6129 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.128, allocations: 15.97 kB / 0.6129 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.1281, allocations: 8 kB / 0.6129 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001445/0.1282, allocations: 278.7 kB / 0.6132 GB, free: 260 kB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.1282, allocations: 0 / 0.6132 GB, free: 260 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002676/0.1285, allocations: 95.78 kB / 0.6132 GB, free: 164 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.0001292/0.1286, allocations: 123.3 kB / 0.6134 GB, free: 32 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.1289, allocations: 267.1 kB / 0.6136 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-06/0.1289, allocations: 3.938 kB / 0.6136 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.129, allocations: 225.7 kB / 0.6138 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.1294, allocations: 128.9 kB / 0.614 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009858/0.1304, allocations: 0.7838 MB / 0.6147 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.998e-05/0.1305, allocations: 109.3 kB / 0.6148 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.1306, allocations: 58.92 kB / 0.6149 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.1308, allocations: 166.1 kB / 0.615 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of SimCode: time 8.71e-07/0.1308, allocations: 0 / 0.615 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of Templates: time 0.007005/0.1378, allocations: 5.175 MB / 0.6201 GB, free: 9.211 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.6207160227932036]