Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.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.001125/0.001125, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 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.001334/0.001334, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.892/0.892, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.5373/0.5373, allocations: 80.19 MB / 339.4 MB, free: 7.543 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 1.156 kB / 0.4924 GB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/2.008e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1139/0.1139, allocations: 125.6 MB / 0.615 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002887/0.1168, allocations: 3.401 MB / 0.6183 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/0.1171, allocations: 39.62 kB / 0.6184 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005895/0.1177, allocations: 190.5 kB / 0.6185 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006657/0.1184, allocations: 369.8 kB / 0.6189 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009018/0.1193, allocations: 434 kB / 0.6193 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008528/0.1201, allocations: 0.8099 MB / 0.6201 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1203, allocations: 66.89 kB / 0.6202 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006726/0.121, allocations: 0.5139 MB / 0.6207 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003591/0.1214, allocations: 339.2 kB / 0.621 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.1214, allocations: 28 kB / 0.621 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005894/0.122, allocations: 387.2 kB / 0.6214 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.448e-05/0.1221, allocations: 115.5 kB / 0.6215 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1222, allocations: 143.7 kB / 0.6216 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006841/0.1229, allocations: 0.6542 MB / 0.6223 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1229, allocations: 0 / 0.6223 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.983e-06/0.1229, allocations: 0 / 0.6223 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.1229, allocations: 0 / 0.6223 GB, free: 2.961 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001141/0.124, allocations: 0.7654 MB / 0.623 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1241, allocations: 9.469 kB / 0.623 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.699e-05/0.1241, allocations: 58.73 kB / 0.6231 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.1242, allocations: 56.56 kB / 0.6231 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.1247, allocations: 431.5 kB / 0.6236 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.1247, allocations: 16.88 kB / 0.6236 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.1248, allocations: 24.38 kB / 0.6236 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.1253, allocations: 449.9 kB / 0.624 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1253, allocations: 192 / 0.624 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.1253, allocations: 11.94 kB / 0.624 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.1253, allocations: 20.48 kB / 0.6241 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.1258, allocations: 485.5 kB / 0.6245 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.1272, allocations: 1.249 MB / 0.6257 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.1276, allocations: 222.4 kB / 0.6259 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.1279, allocations: 188.8 kB / 0.6261 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.128, allocations: 24.52 kB / 0.6261 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.128, allocations: 42.56 kB / 0.6262 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 3.948e-06/0.128, allocations: 0 / 0.6262 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.001998/0.13, allocations: 1.231 MB / 0.6274 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.1301, allocations: 51.41 kB / 0.6274 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.1304, allocations: 402 kB / 0.6278 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1304, allocations: 37.64 kB / 0.6279 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1305, allocations: 204.6 kB / 0.6281 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.455e-05/0.1306, allocations: 122.9 kB / 0.6282 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.1306, allocations: 69.67 kB / 0.6282 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1307, allocations: 358.8 kB / 0.6286 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.1309, allocations: 147.8 kB / 0.6287 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.1311, allocations: 143.8 kB / 0.6289 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.1314, allocations: 333.3 kB / 0.6292 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1314, allocations: 0 / 0.6292 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006156/0.1321, allocations: 0.5325 MB / 0.6297 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1321, allocations: 6.188 kB / 0.6297 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1321, allocations: 0 / 0.6297 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002853/0.1324, allocations: 116.8 kB / 0.6298 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.1326, allocations: 55.89 kB / 0.6299 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.1344, allocations: 2.203 MB / 0.632 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.1345, allocations: 12.03 kB / 0.632 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1345, allocations: 16.03 kB / 0.632 GB, free: 8.586 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * 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 {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.1347, allocations: 170 kB / 0.6322 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.1347, allocations: 47.67 kB / 0.6323 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006976/0.1354, allocations: 0.6546 MB / 0.6329 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1354, allocations: 12.02 kB / 0.6329 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1354, allocations: 0 / 0.6329 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1355, allocations: 4 kB / 0.6329 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.1358, allocations: 360.5 kB / 0.6333 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1358, allocations: 3.984 kB / 0.6333 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.136, allocations: 31.97 kB / 0.6333 GB, free: 7.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002128/0.1362, allocations: 120.8 kB / 0.6334 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.1363, allocations: 19.86 kB / 0.6334 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.1379, allocations: 2.219 MB / 0.6356 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1379, allocations: 0 / 0.6356 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.1386, allocations: 0.6466 MB / 0.6362 GB, free: 4.086 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.1386, allocations: 35.67 kB / 0.6363 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.1387, allocations: 12 kB / 0.6363 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1388, allocations: 12.03 kB / 0.6363 GB, free: 4.027 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.1388, allocations: 19.95 kB / 0.6363 GB, free: 4.008 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1388, allocations: 11.98 kB / 0.6363 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002455/0.1391, allocations: 326.9 kB / 0.6366 GB, free: 3.676 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.1391, allocations: 0 / 0.6366 GB, free: 3.676 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000365/0.1394, allocations: 116 kB / 0.6367 GB, free: 3.562 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.m_flow) * 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 {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/0.1405, allocations: 1.274 MB / 0.638 GB, free: 2.258 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006902/0.1412, allocations: 499.2 kB / 0.6384 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1412, allocations: 3.938 kB / 0.6385 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.1415, allocations: 362.8 kB / 0.6388 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/0.1421, allocations: 181.8 kB / 0.639 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.198/0.3401, allocations: 4.083 MB / 0.643 GB, free: 147.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.3403, allocations: 230.6 kB / 0.6432 GB, free: 147.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002897/0.3406, allocations: 96.84 kB / 0.6433 GB, free: 147.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.3408, allocations: 158.3 kB / 0.6434 GB, free: 147.1 MB / 0.5417 GB Notification: Performance of SimCode: time 2.274e-06/0.3408, allocations: 0 / 0.6434 GB, free: 147.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.3771, allocations: 14.64 MB / 0.6577 GB, free: 140.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.891/9.268, allocations: 3 kB / 0.6577 GB, free: 140.9 MB / 0.5417 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.710800997912884]