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.001572/0.001572, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001758/0.001758, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 7.992 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.7398/0.7398, allocations: 100.3 MB / 412.7 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="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: 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.002381/0.002381, allocations: 85.89 kB / 0.5632 GB, free: 35.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1271, allocations: 74.46 MB / 0.636 GB, free: 7.684 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.4793/0.6064, allocations: 142.1 MB / 0.7748 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003645/0.6101, allocations: 4.229 MB / 0.7789 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.6103, allocations: 25.97 kB / 0.7789 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006051/0.6109, allocations: 158.3 kB / 0.7791 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004659/0.6114, allocations: 216.1 kB / 0.7793 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.6117, allocations: 133.4 kB / 0.7794 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.6122, allocations: 404.1 kB / 0.7798 GB, free: 384 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.6124, allocations: 72.12 kB / 0.7799 GB, free: 376 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004507/0.6129, allocations: 200.5 kB / 0.7801 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.6132, allocations: 174.8 kB / 0.7802 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.781e-05/0.6133, allocations: 18 kB / 0.7802 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006184/0.6139, allocations: 272.2 kB / 0.7805 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.034e-05/0.614, allocations: 49.22 kB / 0.7805 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.6141, allocations: 151.5 kB / 0.7807 GB, free: 324 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006908/0.6148, allocations: 386 kB / 0.7811 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.6148, allocations: 1.094 kB / 0.7811 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6148, allocations: 1.031 kB / 0.7811 GB, free: 296 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.6148, allocations: 0 / 0.7811 GB, free: 296 kB / 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.0009671/0.6158, allocations: 0.5389 MB / 0.7816 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.6158, allocations: 9.5 kB / 0.7816 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.768e-05/0.6159, allocations: 60.42 kB / 0.7817 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.6159, allocations: 37.42 kB / 0.7817 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.6164, allocations: 306.4 kB / 0.782 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.6165, allocations: 16.19 kB / 0.782 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.6165, allocations: 24.75 kB / 0.782 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.6168, allocations: 224.8 kB / 0.7822 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.6168, allocations: 4 kB / 0.7822 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.6169, allocations: 14.12 kB / 0.7822 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.6169, allocations: 3.562 kB / 0.7823 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.6171, allocations: 139.8 kB / 0.7824 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009935/0.6181, allocations: 0.7216 MB / 0.7831 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.6184, allocations: 130.6 kB / 0.7832 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.6185, allocations: 64.83 kB / 0.7833 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.465e-05/0.6186, allocations: 17.02 kB / 0.7833 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.6186, allocations: 31.97 kB / 0.7833 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.6186, allocations: 0 / 0.7833 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001482/0.6201, allocations: 0.6218 MB / 0.7839 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.6202, allocations: 53.5 kB / 0.784 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.6205, allocations: 335 kB / 0.7843 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.6206, allocations: 30.33 kB / 0.7843 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.6207, allocations: 169.8 kB / 0.7845 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/0.6208, allocations: 66.16 kB / 0.7846 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.6208, allocations: 32.72 kB / 0.7846 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.621, allocations: 343.7 kB / 0.7849 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.382e-05/0.6211, allocations: 46.7 kB / 0.785 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.6212, allocations: 70.42 kB / 0.785 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.6214, allocations: 130.6 kB / 0.7852 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.6214, allocations: 0.7188 kB / 0.7852 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004666/0.6219, allocations: 272.3 kB / 0.7854 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6219, allocations: 5.375 kB / 0.7854 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.6219, allocations: 0 / 0.7854 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003395/0.6223, allocations: 89.12 kB / 0.7855 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.6224, allocations: 21.28 kB / 0.7855 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.6243, allocations: 1.848 MB / 0.7873 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.6244, allocations: 8.188 kB / 0.7873 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.6244, allocations: 4.312 kB / 0.7873 GB, free: 12.82 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.0001428/0.6246, allocations: 142 kB / 0.7875 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.6246, allocations: 31.91 kB / 0.7875 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.6251, allocations: 288.5 kB / 0.7878 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.6251, allocations: 2.812 kB / 0.7878 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6251, allocations: 5.688 kB / 0.7878 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6251, allocations: 2.719 kB / 0.7878 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000769/0.6259, allocations: 0.5909 MB / 0.7884 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6259, allocations: 1.562 kB / 0.7884 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.6259, allocations: 12.83 kB / 0.7884 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002437/0.6262, allocations: 102.1 kB / 0.7885 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.6262, allocations: 7.094 kB / 0.7885 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.628, allocations: 1.847 MB / 0.7903 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.628, allocations: 5.031 kB / 0.7903 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.6285, allocations: 401.8 kB / 0.7907 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.6285, allocations: 34.3 kB / 0.7907 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.6285, allocations: 9.812 kB / 0.7907 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.6287, allocations: 12.38 kB / 0.7907 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.6287, allocations: 16.89 kB / 0.7907 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.6287, allocations: 6.562 kB / 0.7908 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002278/0.6289, allocations: 254.1 kB / 0.791 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6289, allocations: 0 / 0.791 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003513/0.6293, allocations: 77.56 kB / 0.7911 GB, free: 10.66 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.0009425/0.6302, allocations: 1 MB / 0.792 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005419/0.6308, allocations: 306.1 kB / 0.7923 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6308, allocations: 0 / 0.7923 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.6312, allocations: 241.4 kB / 0.7926 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000562/0.6317, allocations: 106.1 kB / 0.7927 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003751/0.6355, allocations: 3.116 MB / 0.7957 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.6359, allocations: 0.7801 MB / 0.7965 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.636, allocations: 43.16 kB / 0.7965 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.6361, allocations: 99.47 kB / 0.7966 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.6361, allocations: 0 / 0.7966 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05037/0.6865, allocations: 9.16 MB / 0.8056 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.71, allocations: 19.83 kB / 0.8056 GB, free: 4.73 MB / 0.5919 GB " [Timeout remaining time 646] (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: 17.125707617029548]