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.001761/0.001761, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.0022/0.0022, allocations: 221.3 kB / 23.03 MB, free: 4.941 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.8327/0.8327, allocations: 100.3 MB / 413.5 MB, free: 3.406 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",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.002633/0.002633, allocations: 87.08 kB / 0.564 GB, free: 35.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1253, allocations: 74.47 MB / 0.6367 GB, free: 7.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4863/0.6116, allocations: 126.7 MB / 0.7605 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003734/0.6154, allocations: 2.862 MB / 0.7633 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005392/0.6159, allocations: 37.19 kB / 0.7633 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000725/0.6166, allocations: 216.1 kB / 0.7635 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009551/0.6176, allocations: 376.8 kB / 0.7639 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.6188, allocations: 473.1 kB / 0.7643 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007945/0.6196, allocations: 0.6942 MB / 0.765 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.6198, allocations: 89.5 kB / 0.7651 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.6209, allocations: 0.4999 MB / 0.7656 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004558/0.6213, allocations: 297 kB / 0.7659 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.681e-05/0.6214, allocations: 25.91 kB / 0.7659 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000948/0.6223, allocations: 466.5 kB / 0.7663 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.918e-05/0.6224, allocations: 83.95 kB / 0.7664 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.6226, allocations: 168.4 kB / 0.7666 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009676/0.6236, allocations: 0.6724 MB / 0.7672 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6236, allocations: 1.344 kB / 0.7672 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6236, allocations: 0 / 0.7672 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.6236, allocations: 0.9688 kB / 0.7672 GB, free: 3.074 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.001237/0.6248, allocations: 0.7322 MB / 0.7679 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.6249, allocations: 10.31 kB / 0.768 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.944e-05/0.6249, allocations: 9.281 kB / 0.768 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.872e-05/0.6249, allocations: 61.42 kB / 0.768 GB, free: 18.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.934e-05/0.625, allocations: 59.97 kB / 0.7681 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007459/0.6258, allocations: 407.4 kB / 0.7685 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.6258, allocations: 22.22 kB / 0.7685 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.434e-05/0.6258, allocations: 27.33 kB / 0.7685 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.6264, allocations: 328 kB / 0.7688 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.6264, allocations: 3.969 kB / 0.7688 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.6264, allocations: 10.02 kB / 0.7688 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.6264, allocations: 7.875 kB / 0.7688 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.6268, allocations: 201.9 kB / 0.769 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.6285, allocations: 1.414 MB / 0.7704 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.6289, allocations: 158.3 kB / 0.7706 GB, free: 17.19 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.629, allocations: 72.44 kB / 0.7706 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004641/0.6295, allocations: 79.89 kB / 0.7707 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.6295, allocations: 40.06 kB / 0.7708 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.6295, allocations: 1 kB / 0.7708 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008117/0.6303, allocations: 278 kB / 0.771 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.6304, allocations: 105.2 kB / 0.7711 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005157/0.6309, allocations: 445.9 kB / 0.7715 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.6309, allocations: 29.42 kB / 0.7716 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.6311, allocations: 249.2 kB / 0.7718 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.6312, allocations: 63.23 kB / 0.7719 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-05/0.6313, allocations: 44.75 kB / 0.7719 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.6314, allocations: 356.4 kB / 0.7723 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.6317, allocations: 55.77 kB / 0.7723 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.6319, allocations: 108.8 kB / 0.7724 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.6323, allocations: 179.6 kB / 0.7726 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6323, allocations: 1.438 kB / 0.7726 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006502/0.633, allocations: 273.4 kB / 0.7728 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.633, allocations: 6.406 kB / 0.7729 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.633, allocations: 2.062 kB / 0.7729 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/0.6332, allocations: 22.61 kB / 0.7729 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.6334, allocations: 53.38 kB / 0.7729 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.6347, allocations: 1.284 MB / 0.7742 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.635, allocations: 32.56 kB / 0.7742 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.635, allocations: 14.7 kB / 0.7742 GB, free: 14.87 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.0002379/0.6353, allocations: 147.3 kB / 0.7744 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.6354, allocations: 49.69 kB / 0.7744 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006356/0.636, allocations: 255.4 kB / 0.7747 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.636, allocations: 2.25 kB / 0.7747 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.636, allocations: 1.469 kB / 0.7747 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.636, allocations: 3.391 kB / 0.7747 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.6365, allocations: 308 kB / 0.775 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6365, allocations: 1.188 kB / 0.775 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.6367, allocations: 32.89 kB / 0.775 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.18e-05/0.6368, allocations: 27.36 kB / 0.775 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.6368, allocations: 7.438 kB / 0.775 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009415/0.6377, allocations: 1.279 MB / 0.7763 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.6377, allocations: 7.234 kB / 0.7763 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006561/0.6384, allocations: 453.6 kB / 0.7767 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-05/0.6385, allocations: 41.97 kB / 0.7768 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.6385, allocations: 7.531 kB / 0.7768 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.6387, allocations: 11.91 kB / 0.7768 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.6388, allocations: 16.2 kB / 0.7768 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.6388, allocations: 11.91 kB / 0.7768 GB, free: 13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003844/0.6392, allocations: 308.2 kB / 0.7771 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6392, allocations: 0 / 0.7771 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005414/0.6397, allocations: 102.3 kB / 0.7772 GB, free: 12.91 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.001285/0.641, allocations: 1.079 MB / 0.7782 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006596/0.6416, allocations: 258.5 kB / 0.7785 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6417, allocations: 0.5 kB / 0.7785 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.642, allocations: 195.3 kB / 0.7787 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.6428, allocations: 106.1 kB / 0.7788 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.6478, allocations: 3.57 MB / 0.7823 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.648, allocations: 211.7 kB / 0.7825 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002107/0.6482, allocations: 62.19 kB / 0.7825 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.6484, allocations: 154.5 kB / 0.7827 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of SimCode: time 7.61e-07/0.6484, allocations: 0.9062 kB / 0.7827 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.6843, allocations: 10.75 MB / 0.7932 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.77, allocations: 5.844 kB / 0.7932 GB, free: 8.773 MB / 0.5919 GB " [Timeout remaining time 647] (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: 16.599154500989243]