Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 108.1 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8059/0.8059, allocations: 93.71 MB / 390.9 MB, free: 4.633 MB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 84.69 kB / 0.5285 GB, free: 40.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1545, allocations: 68.27 MB / 0.5951 GB, free: 8.082 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1773/0.3319, allocations: 141.5 MB / 0.7333 GB, free: 10 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005093/0.337, allocations: 4.168 MB / 0.7374 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.3374, allocations: 15.88 kB / 0.7374 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007164/0.3382, allocations: 167 kB / 0.7376 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005989/0.3388, allocations: 210.7 kB / 0.7378 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.3393, allocations: 123.6 kB / 0.7379 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.3398, allocations: 406.2 kB / 0.7383 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.34, allocations: 110.2 kB / 0.7384 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003895/0.3404, allocations: 187.1 kB / 0.7386 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.3407, allocations: 175.3 kB / 0.7387 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.3408, allocations: 20 kB / 0.7388 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005684/0.3413, allocations: 271.5 kB / 0.739 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.3414, allocations: 43.8 kB / 0.7391 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.3416, allocations: 151.1 kB / 0.7392 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000631/0.3422, allocations: 390.4 kB / 0.7396 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3422, allocations: 0 / 0.7396 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3422, allocations: 0 / 0.7396 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3423, allocations: 0 / 0.7396 GB, free: 3.594 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.00105/0.3433, allocations: 0.6152 MB / 0.7402 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3434, allocations: 8.031 kB / 0.7402 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.624e-05/0.3434, allocations: 54.73 kB / 0.7402 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.3435, allocations: 36.7 kB / 0.7403 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.3441, allocations: 383.4 kB / 0.7406 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.3441, allocations: 20.75 kB / 0.7407 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.3441, allocations: 24.34 kB / 0.7407 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.3445, allocations: 225.5 kB / 0.7409 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3445, allocations: 4 kB / 0.7409 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.3446, allocations: 4 kB / 0.7409 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.3446, allocations: 7.984 kB / 0.7409 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.3448, allocations: 127.9 kB / 0.741 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.346, allocations: 0.7694 MB / 0.7418 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.3463, allocations: 134.5 kB / 0.7419 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.3465, allocations: 69.11 kB / 0.742 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.3467, allocations: 255.2 kB / 0.7422 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.3467, allocations: 30.56 kB / 0.7423 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.3468, allocations: 0 / 0.7423 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.3348/0.6816, allocations: 0.9185 MB / 0.7432 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.6816, allocations: 55.19 kB / 0.7432 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.682, allocations: 341.6 kB / 0.7435 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.6821, allocations: 25.7 kB / 0.7436 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.6822, allocations: 175.8 kB / 0.7437 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.6823, allocations: 56.98 kB / 0.7438 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.6823, allocations: 34.44 kB / 0.7438 GB, free: 150 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.6824, allocations: 349 kB / 0.7441 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/0.6825, allocations: 45.55 kB / 0.7442 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.6826, allocations: 69.83 kB / 0.7443 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.6828, allocations: 126.5 kB / 0.7444 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6828, allocations: 0 / 0.7444 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004671/0.6833, allocations: 266.9 kB / 0.7446 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.6833, allocations: 9.344 kB / 0.7446 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.6834, allocations: 0 / 0.7446 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003729/0.6837, allocations: 100.4 kB / 0.7447 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.6839, allocations: 17.28 kB / 0.7448 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.6859, allocations: 1.95 MB / 0.7467 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.6861, allocations: 5.969 kB / 0.7467 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.6861, allocations: 6.031 kB / 0.7467 GB, free: 148.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 10 * 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,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.6862, allocations: 147.7 kB / 0.7468 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.6863, allocations: 38.19 kB / 0.7468 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006183/0.6869, allocations: 287.9 kB / 0.7471 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.6869, allocations: 2.25 kB / 0.7471 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.6869, allocations: 1.719 kB / 0.7471 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.687, allocations: 0.6094 kB / 0.7471 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009102/0.6879, allocations: 0.6211 MB / 0.7477 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6879, allocations: 1.062 kB / 0.7477 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.6879, allocations: 11.17 kB / 0.7477 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00031/0.6883, allocations: 97.38 kB / 0.7478 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.6883, allocations: 6.938 kB / 0.7478 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.6901, allocations: 1.959 MB / 0.7498 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6901, allocations: 1.281 kB / 0.7498 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.6907, allocations: 425.5 kB / 0.7502 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.6907, allocations: 107 kB / 0.7503 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.6908, allocations: 7.703 kB / 0.7503 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.6909, allocations: 1.938 kB / 0.7503 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.691, allocations: 15.34 kB / 0.7503 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.691, allocations: 5.766 kB / 0.7503 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002772/0.6913, allocations: 255.5 kB / 0.7505 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6913, allocations: 1.375 kB / 0.7505 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004112/0.6917, allocations: 71.03 kB / 0.7506 GB, free: 145.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.inlet.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 (5): * Single equations (assignments): 4 * 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,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008867/0.6926, allocations: 1.012 MB / 0.7516 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005946/0.6932, allocations: 301.5 kB / 0.7519 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6932, allocations: 0.6875 kB / 0.7519 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.6936, allocations: 240.8 kB / 0.7521 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006665/0.6943, allocations: 109.1 kB / 0.7522 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.6987, allocations: 3.137 MB / 0.7553 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.6991, allocations: 0.7809 MB / 0.756 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001579/0.6993, allocations: 35.83 kB / 0.7561 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.6994, allocations: 95.75 kB / 0.7562 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/0.6994, allocations: 0 / 0.7562 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03784/0.7373, allocations: 8.982 MB / 0.7649 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.26, allocations: 4.062 kB / 0.7649 GB, free: 134.9 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! Error: Could not read variable splitterN.inlet.m_flow in file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable splitterN.inlet.m_flow from file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! Error: Could not read variable splitterN.outlets[2].m_flow in file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable splitterN.outlets[2].m_flow from file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! Error: Could not read variable splitterN.outlets[3].m_flow in file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable splitterN.outlets[3].m_flow from file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.098441301845014]