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.001624/0.001624, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001935/0.001935, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.8251/0.8251, allocations: 94.62 MB / 407.8 MB, free: 8.898 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.002534/0.002534, allocations: 84.3 kB / 0.5557 GB, free: 38.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1628, allocations: 73.06 MB / 0.627 GB, free: 208 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1772/0.34, allocations: 121.8 MB / 0.746 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004761/0.3448, allocations: 3.826 MB / 0.7498 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003541/0.3451, allocations: 23.75 kB / 0.7498 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006301/0.3458, allocations: 139.1 kB / 0.7499 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005891/0.3464, allocations: 214.7 kB / 0.7501 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.3468, allocations: 131.6 kB / 0.7502 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004988/0.3473, allocations: 414.1 kB / 0.7506 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.3474, allocations: 62.48 kB / 0.7507 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.3479, allocations: 203.1 kB / 0.7509 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.3481, allocations: 171.3 kB / 0.7511 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.3482, allocations: 20 kB / 0.7511 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004802/0.3487, allocations: 235.6 kB / 0.7513 GB, free: 460 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.3487, allocations: 51.77 kB / 0.7513 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.3489, allocations: 111.4 kB / 0.7515 GB, free: 296 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.4398/0.7887, allocations: 382.9 kB / 0.7518 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.7887, allocations: 0 / 0.7518 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.857e-06/0.7887, allocations: 0 / 0.7518 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.889e-05/0.7887, allocations: 0 / 0.7518 GB, free: 4.406 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.001434/0.7902, allocations: 0.54 MB / 0.7523 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.7902, allocations: 10.8 kB / 0.7524 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.418e-05/0.7902, allocations: 6.156 kB / 0.7524 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.557e-05/0.7903, allocations: 50.88 kB / 0.7524 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.519e-05/0.7904, allocations: 40.08 kB / 0.7525 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007738/0.7912, allocations: 313.7 kB / 0.7528 GB, free: 19.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.7912, allocations: 16.19 kB / 0.7528 GB, free: 19.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.7912, allocations: 24.11 kB / 0.7528 GB, free: 19.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.7917, allocations: 233.3 kB / 0.753 GB, free: 19.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.7917, allocations: 0 / 0.753 GB, free: 19.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.7917, allocations: 7.844 kB / 0.753 GB, free: 19.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.7918, allocations: 7.797 kB / 0.753 GB, free: 19.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.792, allocations: 130.3 kB / 0.7532 GB, free: 19.74 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.7933, allocations: 0.68 MB / 0.7538 GB, free: 19.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.7936, allocations: 126.7 kB / 0.7539 GB, free: 19.37 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.7938, allocations: 61.14 kB / 0.754 GB, free: 19.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.7939, allocations: 15.77 kB / 0.754 GB, free: 19.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.794, allocations: 34.53 kB / 0.754 GB, free: 19.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.794, allocations: 0 / 0.754 GB, free: 19.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001822/0.7958, allocations: 0.6271 MB / 0.7547 GB, free: 19.08 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.7958, allocations: 54.72 kB / 0.7547 GB, free: 19.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004881/0.7963, allocations: 338.4 kB / 0.755 GB, free: 18.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.7963, allocations: 26.55 kB / 0.7551 GB, free: 18.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.7965, allocations: 171.5 kB / 0.7552 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/0.7965, allocations: 58.38 kB / 0.7553 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.7966, allocations: 34.08 kB / 0.7553 GB, free: 18.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.7968, allocations: 345.9 kB / 0.7556 GB, free: 18.42 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.043e-05/0.7969, allocations: 49.88 kB / 0.7557 GB, free: 18.42 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.797, allocations: 72.17 kB / 0.7558 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.7972, allocations: 121 kB / 0.7559 GB, free: 18.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.7972, allocations: 1.969 kB / 0.7559 GB, free: 18.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000517/0.7977, allocations: 274.5 kB / 0.7561 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.7977, allocations: 7.469 kB / 0.7561 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.7977, allocations: 1.125 kB / 0.7561 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003664/0.7981, allocations: 91.98 kB / 0.7562 GB, free: 18.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.7982, allocations: 17.22 kB / 0.7562 GB, free: 18.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/0.8007, allocations: 1.83 MB / 0.758 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.8009, allocations: 9.562 kB / 0.758 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.8009, allocations: 8.125 kB / 0.758 GB, free: 17.08 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.0002355/0.8011, allocations: 150.6 kB / 0.7582 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.267e-05/0.8012, allocations: 35.23 kB / 0.7582 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006578/0.8019, allocations: 287.5 kB / 0.7585 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.8019, allocations: 5.594 kB / 0.7585 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.8019, allocations: 1.938 kB / 0.7585 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.8019, allocations: 1.719 kB / 0.7585 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.8029, allocations: 0.5626 MB / 0.7591 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.8029, allocations: 1.031 kB / 0.7591 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.803, allocations: 12.06 kB / 0.7591 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003409/0.8033, allocations: 99.42 kB / 0.7592 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.8033, allocations: 7.438 kB / 0.7592 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.8056, allocations: 1.836 MB / 0.761 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8056, allocations: 1.969 kB / 0.761 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.8062, allocations: 402.1 kB / 0.7613 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.8063, allocations: 32.64 kB / 0.7614 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.8063, allocations: 14.91 kB / 0.7614 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.8065, allocations: 1.344 kB / 0.7614 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.8065, allocations: 18.91 kB / 0.7614 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.8065, allocations: 4.812 kB / 0.7614 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003159/0.8068, allocations: 253.2 kB / 0.7617 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.8068, allocations: 2.688 kB / 0.7617 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004716/0.8073, allocations: 75.75 kB / 0.7617 GB, free: 15.02 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.001009/0.8083, allocations: 1.015 MB / 0.7627 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006429/0.809, allocations: 288.5 kB / 0.763 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.809, allocations: 0 / 0.763 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.8094, allocations: 241 kB / 0.7632 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006554/0.8101, allocations: 105.4 kB / 0.7633 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.8144, allocations: 3.121 MB / 0.7664 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.8147, allocations: 174.4 kB / 0.7665 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000186/0.8149, allocations: 36.19 kB / 0.7666 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.815, allocations: 95.84 kB / 0.7667 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of SimCode: time 1.453e-06/0.815, allocations: 2.625 kB / 0.7667 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/0.8519, allocations: 9.629 MB / 0.7761 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.8, allocations: 11.16 kB / 0.7761 GB, free: 11.47 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.62806408398319]