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.001271/0.001271, allocations: 109.1 kB / 16.46 MB, free: 6.035 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.001248/0.001248, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.433/1.433, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.7361/0.7361, allocations: 94.59 MB / 397.3 MB, free: 296 kB / 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.002274/0.002274, allocations: 83.91 kB / 0.5416 GB, free: 42.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1345, allocations: 71.85 MB / 0.6118 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.5288/0.6632, allocations: 142 MB / 0.7504 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0041/0.6673, allocations: 4.191 MB / 0.7545 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000356/0.6677, allocations: 16.97 kB / 0.7545 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006102/0.6683, allocations: 160.8 kB / 0.7547 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005203/0.6688, allocations: 218.6 kB / 0.7549 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.6692, allocations: 122.7 kB / 0.755 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.6697, allocations: 403.6 kB / 0.7554 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.6698, allocations: 78.08 kB / 0.7555 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.6702, allocations: 198.2 kB / 0.7556 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.6705, allocations: 177.2 kB / 0.7558 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.6705, allocations: 17.81 kB / 0.7558 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.671, allocations: 272.7 kB / 0.7561 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.6711, allocations: 54.05 kB / 0.7561 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.6712, allocations: 142 kB / 0.7563 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005653/0.6718, allocations: 393.6 kB / 0.7567 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.6718, allocations: 0 / 0.7567 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6718, allocations: 0 / 0.7567 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.6718, allocations: 0.875 kB / 0.7567 GB, free: 2.367 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.0008622/0.6726, allocations: 0.626 MB / 0.7573 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.6727, allocations: 10.91 kB / 0.7573 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.063e-05/0.6727, allocations: 53.61 kB / 0.7573 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.6728, allocations: 37.17 kB / 0.7574 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007183/0.6735, allocations: 381.6 kB / 0.7577 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.6735, allocations: 10.53 kB / 0.7577 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.6736, allocations: 24.77 kB / 0.7578 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.6739, allocations: 227.8 kB / 0.758 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6739, allocations: 0 / 0.758 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.674, allocations: 8.375 kB / 0.758 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.674, allocations: 7.969 kB / 0.758 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.6742, allocations: 129.1 kB / 0.7581 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.6753, allocations: 0.7651 MB / 0.7589 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.6755, allocations: 128.9 kB / 0.759 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.22e-05/0.6756, allocations: 61.53 kB / 0.759 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/0.6759, allocations: 242.8 kB / 0.7593 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.6759, allocations: 38.66 kB / 0.7593 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.6759, allocations: 0.9062 kB / 0.7593 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001701/0.6776, allocations: 0.918 MB / 0.7602 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.6777, allocations: 54.8 kB / 0.7603 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.6781, allocations: 337.7 kB / 0.7606 GB, free: 16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.6781, allocations: 26.58 kB / 0.7606 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.6782, allocations: 173.4 kB / 0.7608 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.6782, allocations: 62.12 kB / 0.7608 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.6783, allocations: 36.59 kB / 0.7609 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.6785, allocations: 338.8 kB / 0.7612 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.6786, allocations: 49.52 kB / 0.7612 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.567e-05/0.6787, allocations: 70.23 kB / 0.7613 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.6788, allocations: 126.2 kB / 0.7614 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.6788, allocations: 0.9688 kB / 0.7614 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004586/0.6793, allocations: 270.3 kB / 0.7617 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.6793, allocations: 7.375 kB / 0.7617 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.6793, allocations: 1.219 kB / 0.7617 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003305/0.6797, allocations: 96.06 kB / 0.7618 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.6797, allocations: 23.38 kB / 0.7618 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.682, allocations: 1.94 MB / 0.7637 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.613e-05/0.682, allocations: 9 kB / 0.7637 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.6821, allocations: 4 kB / 0.7637 GB, free: 14.04 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.0001654/0.6822, allocations: 159.2 kB / 0.7639 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.6823, allocations: 35.33 kB / 0.7639 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005688/0.6829, allocations: 288.5 kB / 0.7642 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.6829, allocations: 1.656 kB / 0.7642 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6829, allocations: 6.625 kB / 0.7642 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6829, allocations: 0.5312 kB / 0.7642 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00093/0.6838, allocations: 0.6075 MB / 0.7648 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6838, allocations: 2.062 kB / 0.7648 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.6839, allocations: 8.344 kB / 0.7648 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003059/0.6842, allocations: 100.3 kB / 0.7649 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.6842, allocations: 9.641 kB / 0.7649 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.6865, allocations: 1.963 MB / 0.7668 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6865, allocations: 1.188 kB / 0.7668 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005801/0.6871, allocations: 403 kB / 0.7672 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.6872, allocations: 109.8 kB / 0.7673 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.6873, allocations: 11.92 kB / 0.7673 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.6874, allocations: 1.969 kB / 0.7673 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.6874, allocations: 21 kB / 0.7673 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.6874, allocations: 4.719 kB / 0.7673 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002891/0.6877, allocations: 253.1 kB / 0.7676 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6877, allocations: 2.125 kB / 0.7676 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004075/0.6881, allocations: 73.58 kB / 0.7676 GB, free: 11.7 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.001099/0.6892, allocations: 1.01 MB / 0.7686 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006314/0.6899, allocations: 294.6 kB / 0.7689 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6899, allocations: 0.9062 kB / 0.7689 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.6903, allocations: 246.3 kB / 0.7692 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.6909, allocations: 102.1 kB / 0.7692 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004353/0.6953, allocations: 3.122 MB / 0.7723 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.6957, allocations: 0.783 MB / 0.7731 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.6959, allocations: 35.14 kB / 0.7731 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.696, allocations: 98.05 kB / 0.7732 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.696, allocations: 1.094 kB / 0.7732 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.615/2.311, allocations: 9.038 MB / 0.782 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/16.73, allocations: 7.75 kB / 0.782 GB, free: 7.652 MB / 0.5919 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.1227656211704]