Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.002023/0.002023, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002954/0.002954, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.685/1.685, allocations: 230.6 MB / 256 MB, free: 7.777 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.9732/0.9732, allocations: 100.9 MB / 413.3 MB, free: 2.863 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.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",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.004527/0.004527, allocations: 85.19 kB / 0.5641 GB, free: 35.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2192, allocations: 74.62 MB / 0.637 GB, free: 6.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.7414/0.9605, allocations: 126.8 MB / 0.7608 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004964/0.9655, allocations: 2.867 MB / 0.7636 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007263/0.9662, allocations: 39.23 kB / 0.7636 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009048/0.9671, allocations: 218.5 kB / 0.7638 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.9685, allocations: 374.8 kB / 0.7642 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.9701, allocations: 464.6 kB / 0.7646 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.9714, allocations: 0.6879 MB / 0.7653 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.9717, allocations: 88.61 kB / 0.7654 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.9733, allocations: 0.501 MB / 0.7659 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004494/0.9738, allocations: 280.8 kB / 0.7662 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.299e-05/0.9739, allocations: 26.06 kB / 0.7662 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.9752, allocations: 465.5 kB / 0.7666 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.9754, allocations: 72.77 kB / 0.7667 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.9756, allocations: 173.7 kB / 0.7669 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.9771, allocations: 0.6749 MB / 0.7675 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.9771, allocations: 0 / 0.7675 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9771, allocations: 1.062 kB / 0.7675 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.9771, allocations: 0.6094 kB / 0.7675 GB, free: 3.535 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001679/0.9788, allocations: 0.7311 MB / 0.7682 GB, free: 19.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.9789, allocations: 11.69 kB / 0.7682 GB, free: 19.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.183e-05/0.979, allocations: 63.52 kB / 0.7683 GB, free: 19.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.427e-05/0.9791, allocations: 55.95 kB / 0.7684 GB, free: 19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.9801, allocations: 407.5 kB / 0.7687 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.9801, allocations: 23.06 kB / 0.7688 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/0.9802, allocations: 29.81 kB / 0.7688 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.9809, allocations: 330.9 kB / 0.7691 GB, free: 18.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.9809, allocations: 1.891 kB / 0.7691 GB, free: 18.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.9809, allocations: 9.875 kB / 0.7691 GB, free: 18.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.981, allocations: 7.125 kB / 0.7691 GB, free: 18.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.9814, allocations: 200.1 kB / 0.7693 GB, free: 18.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.9836, allocations: 1.412 MB / 0.7707 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000529/0.9841, allocations: 162.4 kB / 0.7709 GB, free: 17.65 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.9843, allocations: 67.36 kB / 0.7709 GB, free: 17.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005416/0.9848, allocations: 71.88 kB / 0.771 GB, free: 17.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.346e-05/0.9849, allocations: 44.72 kB / 0.771 GB, free: 17.58 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 3.437e-06/0.9849, allocations: 1.734 kB / 0.771 GB, free: 17.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.001018/0.9859, allocations: 276.2 kB / 0.7713 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.986, allocations: 107.6 kB / 0.7714 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000916/0.9869, allocations: 450.5 kB / 0.7718 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.9869, allocations: 30.17 kB / 0.7719 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.9872, allocations: 251.6 kB / 0.7721 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.9873, allocations: 55.73 kB / 0.7721 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.9874, allocations: 45.81 kB / 0.7722 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002689/0.9876, allocations: 355.8 kB / 0.7725 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.9878, allocations: 54.91 kB / 0.7726 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.9881, allocations: 112.5 kB / 0.7727 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.9885, allocations: 182.6 kB / 0.7729 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.9885, allocations: 5.781 kB / 0.7729 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006964/0.9892, allocations: 262.1 kB / 0.7731 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.9892, allocations: 5.938 kB / 0.7731 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.9892, allocations: 4.25 kB / 0.7731 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/0.9894, allocations: 24.14 kB / 0.7732 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.9896, allocations: 47.78 kB / 0.7732 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.9909, allocations: 1.282 MB / 0.7744 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.9912, allocations: 34.59 kB / 0.7745 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.9912, allocations: 10.62 kB / 0.7745 GB, free: 15.34 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002483/0.9915, allocations: 147.6 kB / 0.7746 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.9916, allocations: 53.97 kB / 0.7747 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000623/0.9922, allocations: 254.5 kB / 0.7749 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.9922, allocations: 3.078 kB / 0.7749 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.9922, allocations: 1.281 kB / 0.7749 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.9922, allocations: 2.188 kB / 0.7749 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/0.9928, allocations: 306 kB / 0.7752 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.9928, allocations: 2.5 kB / 0.7752 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.993, allocations: 36.27 kB / 0.7753 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.364e-05/0.9931, allocations: 28.22 kB / 0.7753 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.9931, allocations: 6.844 kB / 0.7753 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.9943, allocations: 1.283 MB / 0.7765 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.9943, allocations: 5.188 kB / 0.7766 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007044/0.995, allocations: 454.8 kB / 0.777 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.68e-05/0.9951, allocations: 46.83 kB / 0.777 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.9951, allocations: 7.188 kB / 0.777 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.9953, allocations: 12.88 kB / 0.7771 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.9954, allocations: 14.5 kB / 0.7771 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.9954, allocations: 3.938 kB / 0.7771 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004404/0.9958, allocations: 312.4 kB / 0.7774 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9958, allocations: 0 / 0.7774 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006558/0.9965, allocations: 97.77 kB / 0.7775 GB, free: 13.36 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (13): * Single equations (assignments): 12 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001641/0.9981, allocations: 1.097 MB / 0.7785 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007292/0.9989, allocations: 256.9 kB / 0.7788 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.9989, allocations: 1.156 kB / 0.7788 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.9992, allocations: 186.7 kB / 0.779 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008428/1, allocations: 108.9 kB / 0.7791 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006005/1.006, allocations: 3.573 MB / 0.7825 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/1.006, allocations: 209.5 kB / 0.7827 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000312/1.007, allocations: 58.77 kB / 0.7828 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/1.007, allocations: 154.7 kB / 0.783 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of SimCode: time 1.853e-06/1.007, allocations: 0 / 0.783 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05995/1.067, allocations: 11.08 MB / 0.7938 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/14.25, allocations: 4 kB / 0.7938 GB, free: 8.816 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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: 18.617711284197867]