Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001394/0.001394, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001467/0.001467, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.318/1.318, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.576/0.576, allocations: 94.59 MB / 399 MB, free: 15.81 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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_dev_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 79.88 kB / 0.5442 GB, free: 12.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3283, allocations: 71.86 MB / 0.6144 GB, free: 3.855 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1559/0.4841, allocations: 142.1 MB / 0.7531 GB, free: 6.559 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.004556/0.4887, allocations: 4.231 MB / 0.7572 GB, free: 2.312 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.4889, allocations: 23.88 kB / 0.7573 GB, free: 2.289 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0005769/0.4895, allocations: 163 kB / 0.7574 GB, free: 2.129 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.49, allocations: 214.7 kB / 0.7576 GB, free: 1.918 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.4903, allocations: 123.6 kB / 0.7577 GB, free: 1.797 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.4908, allocations: 406.2 kB / 0.7581 GB, free: 1.398 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.4909, allocations: 62.27 kB / 0.7582 GB, free: 1.34 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.4912, allocations: 203 kB / 0.7584 GB, free: 1.141 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.4915, allocations: 179.2 kB / 0.7586 GB, free: 0.9648 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.4915, allocations: 16 kB / 0.7586 GB, free: 0.9492 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004809/0.492, allocations: 267.6 kB / 0.7588 GB, free: 0.6875 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.4921, allocations: 47.73 kB / 0.7589 GB, free: 0.6406 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.4922, allocations: 151.1 kB / 0.759 GB, free: 0.4922 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.4928, allocations: 382.4 kB / 0.7594 GB, free: 120 kB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4928, allocations: 0 / 0.7594 GB, free: 120 kB / 0.5763 GB Notification: Performance of FrontEnd: time 3.897e-06/0.4928, allocations: 4 kB / 0.7594 GB, free: 116 kB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.4928, allocations: 0 / 0.7594 GB, free: 116 kB / 0.5763 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.0009172/0.4937, allocations: 0.6192 MB / 0.76 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.4937, allocations: 8.031 kB / 0.76 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.742e-05/0.4938, allocations: 54.73 kB / 0.76 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.4938, allocations: 40.64 kB / 0.7601 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.4943, allocations: 383.4 kB / 0.7605 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.4943, allocations: 12.75 kB / 0.7605 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.4944, allocations: 24.38 kB / 0.7605 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.4947, allocations: 225.6 kB / 0.7607 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4947, allocations: 0 / 0.7607 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.4948, allocations: 15.98 kB / 0.7607 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.4948, allocations: 4 kB / 0.7607 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.495, allocations: 127.9 kB / 0.7608 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.496, allocations: 0.7655 MB / 0.7616 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.4963, allocations: 126.5 kB / 0.7617 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.4964, allocations: 60.78 kB / 0.7618 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.4966, allocations: 243.3 kB / 0.762 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.4966, allocations: 38.84 kB / 0.762 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.4966, allocations: 0 / 0.762 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.00153/0.4982, allocations: 0.9137 MB / 0.7629 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.4982, allocations: 55.41 kB / 0.763 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.4985, allocations: 341.7 kB / 0.7633 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.4986, allocations: 29.7 kB / 0.7633 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.4987, allocations: 172.4 kB / 0.7635 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.4988, allocations: 59.48 kB / 0.7636 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.4988, allocations: 33.7 kB / 0.7636 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.499, allocations: 342.8 kB / 0.7639 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.329e-05/0.4991, allocations: 51.92 kB / 0.764 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.864e-05/0.4992, allocations: 73.64 kB / 0.764 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.4993, allocations: 130.9 kB / 0.7642 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4993, allocations: 0 / 0.7642 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004506/0.4998, allocations: 268.7 kB / 0.7644 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.4998, allocations: 8 kB / 0.7644 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.4998, allocations: 0 / 0.7644 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002964/0.5001, allocations: 92.78 kB / 0.7645 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.5002, allocations: 19.92 kB / 0.7645 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.5023, allocations: 1.954 MB / 0.7664 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.212e-05/0.5023, allocations: 11.97 kB / 0.7665 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.5024, allocations: 4 kB / 0.7665 GB, free: 8.309 MB / 0.5919 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.0001402/0.5025, allocations: 149.8 kB / 0.7666 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.5026, allocations: 39.75 kB / 0.7666 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004948/0.503, allocations: 280.5 kB / 0.7669 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5031, allocations: 7.938 kB / 0.7669 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.5031, allocations: 4 kB / 0.7669 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5031, allocations: 3.984 kB / 0.7669 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000772/0.5038, allocations: 0.6108 MB / 0.7675 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.5038, allocations: 0 / 0.7675 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.5039, allocations: 8 kB / 0.7675 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.5041, allocations: 100.8 kB / 0.7676 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.5042, allocations: 7.984 kB / 0.7676 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.5061, allocations: 1.954 MB / 0.7695 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.5061, allocations: 7.922 kB / 0.7695 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005485/0.5067, allocations: 414.5 kB / 0.7699 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.5068, allocations: 105 kB / 0.77 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.5068, allocations: 12.16 kB / 0.7701 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.5069, allocations: 4 kB / 0.7701 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.5069, allocations: 11.98 kB / 0.7701 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.507, allocations: 7.984 kB / 0.7701 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002527/0.5072, allocations: 251.2 kB / 0.7703 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5072, allocations: 0 / 0.7703 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000343/0.5076, allocations: 79.94 kB / 0.7704 GB, free: 3.988 MB / 0.5919 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.0009498/0.5085, allocations: 1.015 MB / 0.7714 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005574/0.5091, allocations: 290.5 kB / 0.7717 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5091, allocations: 0 / 0.7717 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004022/0.5095, allocations: 242.5 kB / 0.7719 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/0.51, allocations: 91.67 kB / 0.772 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.5138, allocations: 3.123 MB / 0.775 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.5142, allocations: 0.7834 MB / 0.7758 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.804e-05/0.5142, allocations: 30.97 kB / 0.7758 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.5144, allocations: 91.41 kB / 0.7759 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.5144, allocations: 0 / 0.7759 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.5521, allocations: 9.041 MB / 0.7847 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.874/10.43, allocations: 5.938 kB / 0.7847 GB, free: 5.219 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! Error: Could not read variable splitterN.inlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable splitterN.inlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! Error: Could not read variable splitterN.outlets[2].m_flow in file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable splitterN.outlets[2].m_flow from file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! Error: Could not read variable splitterN.outlets[3].m_flow in file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable splitterN.outlets[3].m_flow from file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.456321795994882]