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.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.001307/0.001307, allocations: 116.7 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001396/0.001396, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6603/0.6603, allocations: 100.3 MB / 409.8 MB, free: 5.379 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.TestSplitter,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 87.86 kB / 0.5589 GB, free: 13.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3885, allocations: 74.41 MB / 0.6315 GB, free: 2.422 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1734/0.5619, allocations: 142 MB / 0.7703 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004989/0.5669, allocations: 4.19 MB / 0.7743 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.5671, allocations: 27.81 kB / 0.7744 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006866/0.5678, allocations: 159 kB / 0.7745 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0006264/0.5685, allocations: 214.7 kB / 0.7747 GB, free: 352 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.5689, allocations: 131.6 kB / 0.7749 GB, free: 220 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005349/0.5694, allocations: 402.2 kB / 0.7752 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.5696, allocations: 74.2 kB / 0.7753 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.57, allocations: 207.1 kB / 0.7755 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.5703, allocations: 175.2 kB / 0.7757 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.5703, allocations: 20 kB / 0.7757 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005214/0.5708, allocations: 279.5 kB / 0.776 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.5709, allocations: 43.8 kB / 0.776 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.571, allocations: 143.2 kB / 0.7761 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005644/0.5716, allocations: 390.4 kB / 0.7765 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5716, allocations: 0 / 0.7765 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5716, allocations: 0 / 0.7765 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.5716, allocations: 0 / 0.7765 GB, free: 14.52 MB / 0.6075 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.001006/0.5726, allocations: 0.619 MB / 0.7771 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.5726, allocations: 8.031 kB / 0.7771 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.364e-05/0.5727, allocations: 12.56 kB / 0.7771 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/0.5727, allocations: 50.73 kB / 0.7772 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.5728, allocations: 40.7 kB / 0.7772 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/0.5733, allocations: 375.5 kB / 0.7776 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.5733, allocations: 16.75 kB / 0.7776 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.5734, allocations: 20.12 kB / 0.7776 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.5738, allocations: 222.7 kB / 0.7778 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.5738, allocations: 7.938 kB / 0.7778 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.5738, allocations: 8 kB / 0.7778 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.5738, allocations: 4 kB / 0.7778 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.574, allocations: 131.9 kB / 0.778 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.5751, allocations: 0.7578 MB / 0.7787 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.5755, allocations: 122.5 kB / 0.7788 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.5756, allocations: 60.84 kB / 0.7789 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.5758, allocations: 247.3 kB / 0.7791 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.5758, allocations: 30.56 kB / 0.7792 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 3.095e-06/0.5758, allocations: 11.92 kB / 0.7792 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001806/0.5776, allocations: 0.9262 MB / 0.7801 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.5777, allocations: 59.34 kB / 0.7801 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.5781, allocations: 337.7 kB / 0.7804 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.5781, allocations: 29.64 kB / 0.7805 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.5783, allocations: 172.4 kB / 0.7806 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.5783, allocations: 63.48 kB / 0.7807 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.5784, allocations: 33.7 kB / 0.7807 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002629/0.5787, allocations: 342.8 kB / 0.7811 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.59e-05/0.5787, allocations: 47.97 kB / 0.7811 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.5789, allocations: 64.28 kB / 0.7812 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.5791, allocations: 121.7 kB / 0.7813 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.5791, allocations: 0 / 0.7813 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000483/0.5796, allocations: 280.6 kB / 0.7815 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5796, allocations: 4 kB / 0.7816 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.5796, allocations: 0 / 0.7816 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/0.58, allocations: 96.72 kB / 0.7816 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.5801, allocations: 19.98 kB / 0.7817 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.5824, allocations: 1.95 MB / 0.7836 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.5825, allocations: 4.047 kB / 0.7836 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.5825, allocations: 11.98 kB / 0.7836 GB, free: 6.707 MB / 0.6075 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.0001985/0.5827, allocations: 143.4 kB / 0.7837 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.03e-05/0.5827, allocations: 31.81 kB / 0.7838 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005379/0.5833, allocations: 287.7 kB / 0.784 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5833, allocations: 3.938 kB / 0.784 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.5833, allocations: 4 kB / 0.784 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.5833, allocations: 3.984 kB / 0.784 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008379/0.5841, allocations: 0.6108 MB / 0.7846 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5841, allocations: 4 kB / 0.7846 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.5842, allocations: 7.938 kB / 0.7846 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002905/0.5845, allocations: 104.9 kB / 0.7847 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.5845, allocations: 7.984 kB / 0.7848 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.5868, allocations: 1.962 MB / 0.7867 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5868, allocations: 0 / 0.7867 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.5874, allocations: 394.5 kB / 0.787 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.588e-05/0.5874, allocations: 116.8 kB / 0.7872 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.5875, allocations: 4 kB / 0.7872 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.5876, allocations: 8 kB / 0.7872 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.5876, allocations: 11.98 kB / 0.7872 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.5876, allocations: 11.98 kB / 0.7872 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000298/0.5879, allocations: 251.2 kB / 0.7874 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.5879, allocations: 0 / 0.7874 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003828/0.5883, allocations: 71.94 kB / 0.7875 GB, free: 2.41 MB / 0.6075 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.001133/0.5895, allocations: 1.016 MB / 0.7885 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006374/0.5901, allocations: 294.4 kB / 0.7888 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5901, allocations: 0 / 0.7888 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.5905, allocations: 234.7 kB / 0.789 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000622/0.5912, allocations: 101.6 kB / 0.7891 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.5953, allocations: 3.131 MB / 0.7922 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.5957, allocations: 0.7795 MB / 0.7929 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.5958, allocations: 38.91 kB / 0.7929 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.5959, allocations: 99.41 kB / 0.793 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.596, allocations: 0 / 0.793 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/0.6303, allocations: 9.082 MB / 0.8019 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.16, allocations: 13.59 kB / 0.8019 GB, free: 3.625 MB / 0.6231 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.663998639967758]