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.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.00157/0.00157, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001944/0.001944, allocations: 212 kB / 23.04 MB, free: 5.078 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7043/0.7043, allocations: 94.56 MB / 407.8 MB, free: 9.188 MB / 318.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/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_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_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.002325/0.002325, allocations: 85.3 kB / 0.5557 GB, free: 38.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1216, allocations: 73.05 MB / 0.627 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.5273/0.6489, allocations: 142.2 MB / 0.7659 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004067/0.653, allocations: 4.221 MB / 0.77 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004072/0.6534, allocations: 27.41 kB / 0.77 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006267/0.654, allocations: 158.8 kB / 0.7702 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000706/0.6548, allocations: 224.5 kB / 0.7704 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.6552, allocations: 125.7 kB / 0.7705 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005283/0.6557, allocations: 409.2 kB / 0.7709 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.6559, allocations: 68.27 kB / 0.771 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004953/0.6564, allocations: 203.2 kB / 0.7712 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.6567, allocations: 171.8 kB / 0.7713 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.6568, allocations: 18.28 kB / 0.7713 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005479/0.6573, allocations: 274.7 kB / 0.7716 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.712e-05/0.6574, allocations: 53.69 kB / 0.7717 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.6576, allocations: 145.2 kB / 0.7718 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006888/0.6583, allocations: 383.5 kB / 0.7722 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.512e-05/0.6583, allocations: 5.219 kB / 0.7722 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6583, allocations: 0 / 0.7722 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.6583, allocations: 0 / 0.7722 GB, free: 2.051 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.001201/0.6595, allocations: 0.5432 MB / 0.7727 GB, free: 17.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.6595, allocations: 9.906 kB / 0.7727 GB, free: 17.67 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.057e-05/0.6596, allocations: 9.25 kB / 0.7727 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.828e-05/0.6596, allocations: 56.77 kB / 0.7728 GB, free: 17.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.822e-05/0.6597, allocations: 41.98 kB / 0.7728 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005947/0.6603, allocations: 301.9 kB / 0.7731 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.6603, allocations: 18.09 kB / 0.7731 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.6604, allocations: 19.75 kB / 0.7731 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.6608, allocations: 237.1 kB / 0.7734 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.6608, allocations: 0.5938 kB / 0.7734 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.6609, allocations: 5.25 kB / 0.7734 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.6609, allocations: 8.578 kB / 0.7734 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.6611, allocations: 133.3 kB / 0.7735 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.6624, allocations: 0.7296 MB / 0.7742 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.6627, allocations: 128.3 kB / 0.7743 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.6629, allocations: 60.83 kB / 0.7744 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.507e-05/0.6629, allocations: 15.2 kB / 0.7744 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.663, allocations: 31.78 kB / 0.7744 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.663, allocations: 4 kB / 0.7744 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001691/0.6647, allocations: 0.619 MB / 0.775 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.6647, allocations: 57.09 kB / 0.7751 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.6652, allocations: 333.6 kB / 0.7754 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.6652, allocations: 29.06 kB / 0.7754 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.6653, allocations: 178.5 kB / 0.7756 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.6654, allocations: 54.72 kB / 0.7757 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.6654, allocations: 35.55 kB / 0.7757 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.6656, allocations: 344.1 kB / 0.776 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.6657, allocations: 46.86 kB / 0.7761 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.54e-05/0.6658, allocations: 68.41 kB / 0.7761 GB, free: 16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.666, allocations: 130.1 kB / 0.7763 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.666, allocations: 4 kB / 0.7763 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004727/0.6665, allocations: 269.1 kB / 0.7765 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6665, allocations: 5.188 kB / 0.7765 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6665, allocations: 1.188 kB / 0.7765 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003171/0.6668, allocations: 91.25 kB / 0.7766 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.6669, allocations: 22.83 kB / 0.7766 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.6689, allocations: 1.845 MB / 0.7784 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.6691, allocations: 8.438 kB / 0.7784 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.6691, allocations: 11.17 kB / 0.7785 GB, free: 14.64 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.0001676/0.6692, allocations: 145 kB / 0.7786 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.6693, allocations: 34.59 kB / 0.7786 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004898/0.6698, allocations: 286.3 kB / 0.7789 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.6698, allocations: 6.391 kB / 0.7789 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6698, allocations: 1.125 kB / 0.7789 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.6698, allocations: 1.312 kB / 0.7789 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008634/0.6707, allocations: 0.5882 MB / 0.7795 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6707, allocations: 1.281 kB / 0.7795 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.6707, allocations: 14.09 kB / 0.7795 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003178/0.671, allocations: 94.69 kB / 0.7796 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.6711, allocations: 11.06 kB / 0.7796 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.6732, allocations: 1.853 MB / 0.7814 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6732, allocations: 1.562 kB / 0.7814 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.6738, allocations: 401.1 kB / 0.7818 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.449e-05/0.6739, allocations: 38.48 kB / 0.7818 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.051e-05/0.6739, allocations: 7.688 kB / 0.7818 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.6741, allocations: 7.969 kB / 0.7818 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.6741, allocations: 19.22 kB / 0.7819 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.6741, allocations: 2.812 kB / 0.7819 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002847/0.6744, allocations: 257.5 kB / 0.7821 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6744, allocations: 1.688 kB / 0.7821 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000435/0.6748, allocations: 68.56 kB / 0.7822 GB, free: 12.54 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.001035/0.6759, allocations: 1.013 MB / 0.7832 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006469/0.6765, allocations: 294.6 kB / 0.7834 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6765, allocations: 1.375 kB / 0.7835 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.6769, allocations: 236.1 kB / 0.7837 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006775/0.6776, allocations: 101 kB / 0.7838 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.6819, allocations: 3.125 MB / 0.7868 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.6823, allocations: 0.7847 MB / 0.7876 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.6824, allocations: 43.06 kB / 0.7876 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.6825, allocations: 95.16 kB / 0.7877 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/0.6825, allocations: 1.094 kB / 0.7877 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/0.7191, allocations: 9.181 MB / 0.7967 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.81, allocations: 23.2 kB / 0.7967 GB, free: 8.164 MB / 0.5919 GB " [Timeout remaining time 647] (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/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: 16.30603153107222]