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.001272/0.001272, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001448/0.001448, allocations: 217.8 kB / 23.04 MB, free: 5.074 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.7815/0.7815, allocations: 100.3 MB / 413.5 MB, free: 3.664 MB / 318.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.002413/0.002413, allocations: 90.14 kB / 0.564 GB, free: 35.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1386, allocations: 74.46 MB / 0.6367 GB, free: 7.66 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.4951/0.6337, allocations: 142.1 MB / 0.7755 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003648/0.6373, allocations: 4.236 MB / 0.7797 GB, free: 164 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003899/0.6377, allocations: 21.59 kB / 0.7797 GB, free: 152 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005636/0.6383, allocations: 160.9 kB / 0.7798 GB, free: 100 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005295/0.6388, allocations: 219.8 kB / 0.78 GB, free: 28 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.6392, allocations: 129.5 kB / 0.7802 GB, free: 8 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006919/0.6399, allocations: 420.9 kB / 0.7806 GB, free: 0 / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.6401, allocations: 62.95 kB / 0.7806 GB, free: 0 / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000521/0.6406, allocations: 199.8 kB / 0.7808 GB, free: 0 / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.6409, allocations: 176.6 kB / 0.781 GB, free: 0 / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.641, allocations: 23.28 kB / 0.781 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00063/0.6416, allocations: 276 kB / 0.7813 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.6417, allocations: 48.66 kB / 0.7813 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.6418, allocations: 149.3 kB / 0.7815 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000669/0.6425, allocations: 381 kB / 0.7818 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6425, allocations: 1.062 kB / 0.7818 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6425, allocations: 1.312 kB / 0.7818 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.6425, allocations: 1.203 kB / 0.7818 GB, free: 15.94 MB / 0.5919 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.0009989/0.6435, allocations: 0.5443 MB / 0.7824 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.6436, allocations: 9.719 kB / 0.7824 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.964e-05/0.6436, allocations: 6.219 kB / 0.7824 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.005e-05/0.6436, allocations: 50.92 kB / 0.7824 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.6437, allocations: 43.91 kB / 0.7825 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/0.6442, allocations: 316.8 kB / 0.7828 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.6442, allocations: 15.78 kB / 0.7828 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.6443, allocations: 19 kB / 0.7828 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.6446, allocations: 227.3 kB / 0.783 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.6447, allocations: 5.125 kB / 0.783 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.6447, allocations: 9.875 kB / 0.783 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.6447, allocations: 5.734 kB / 0.783 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.6449, allocations: 142.5 kB / 0.7832 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.646, allocations: 0.7233 MB / 0.7839 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.6463, allocations: 124.3 kB / 0.784 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.6464, allocations: 68.28 kB / 0.7841 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.6465, allocations: 20.44 kB / 0.7841 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.6465, allocations: 32.91 kB / 0.7841 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.6465, allocations: 0 / 0.7841 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001645/0.6482, allocations: 0.6177 MB / 0.7847 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.6482, allocations: 53.22 kB / 0.7848 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/0.6487, allocations: 334.5 kB / 0.7851 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.6487, allocations: 30.02 kB / 0.7851 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.6488, allocations: 171.9 kB / 0.7853 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.484e-05/0.6489, allocations: 62.81 kB / 0.7853 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.649, allocations: 30.66 kB / 0.7854 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.6491, allocations: 343.9 kB / 0.7857 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.791e-05/0.6492, allocations: 51.61 kB / 0.7858 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.6493, allocations: 70.72 kB / 0.7858 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.6495, allocations: 126.6 kB / 0.7859 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.6495, allocations: 0.5 kB / 0.7859 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004885/0.65, allocations: 272.7 kB / 0.7862 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.6501, allocations: 5.094 kB / 0.7862 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.6501, allocations: 0.5 kB / 0.7862 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003644/0.6504, allocations: 89.97 kB / 0.7863 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.6505, allocations: 20.23 kB / 0.7863 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.6526, allocations: 1.851 MB / 0.7881 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.6527, allocations: 9.062 kB / 0.7881 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.6527, allocations: 5.328 kB / 0.7881 GB, free: 12.46 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.0001568/0.6528, allocations: 144.2 kB / 0.7883 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.6529, allocations: 32.03 kB / 0.7883 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004928/0.6534, allocations: 288.3 kB / 0.7886 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.6534, allocations: 5.344 kB / 0.7886 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6534, allocations: 2.188 kB / 0.7886 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6534, allocations: 0 / 0.7886 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007778/0.6542, allocations: 0.5916 MB / 0.7892 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6542, allocations: 1.281 kB / 0.7892 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.6542, allocations: 8.406 kB / 0.7892 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.6545, allocations: 101.3 kB / 0.7893 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.6545, allocations: 9.156 kB / 0.7893 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.6566, allocations: 1.85 MB / 0.7911 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6566, allocations: 6.094 kB / 0.7911 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/0.6571, allocations: 404.3 kB / 0.7915 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.6572, allocations: 35.02 kB / 0.7915 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.6572, allocations: 12 kB / 0.7915 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.6573, allocations: 4.688 kB / 0.7915 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.6574, allocations: 18.42 kB / 0.7915 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.6574, allocations: 11.53 kB / 0.7916 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002545/0.6576, allocations: 257.8 kB / 0.7918 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6576, allocations: 0 / 0.7918 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003913/0.658, allocations: 72.44 kB / 0.7919 GB, free: 10.3 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.001011/0.659, allocations: 1 MB / 0.7928 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006164/0.6596, allocations: 297.1 kB / 0.7931 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6596, allocations: 0 / 0.7931 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000411/0.6601, allocations: 243.3 kB / 0.7934 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.6607, allocations: 98.52 kB / 0.7935 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.6645, allocations: 3.122 MB / 0.7965 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.6649, allocations: 0.7814 MB / 0.7973 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000124/0.665, allocations: 35.16 kB / 0.7973 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.6651, allocations: 98.86 kB / 0.7974 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of SimCode: time 9.12e-07/0.6651, allocations: 5.375 kB / 0.7974 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/0.6997, allocations: 9.196 MB / 0.8064 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.71, allocations: 20.8 kB / 0.8064 GB, free: 4.352 MB / 0.5919 GB " [Timeout remaining time 647] (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: 16.332215151982382]