Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.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.001585/0.001585, 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.001868/0.001868, allocations: 210.4 kB / 22.24 MB, free: 5.258 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.415/1.415, 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.7916/0.7916, allocations: 100.9 MB / 413.3 MB, free: 2.852 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.TestJunction,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction",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.002526/0.002526, allocations: 86.67 kB / 0.5641 GB, free: 35.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1411, allocations: 74.62 MB / 0.6369 GB, free: 6.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.5023/0.6434, allocations: 124.6 MB / 0.7586 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004809/0.6482, allocations: 4.208 MB / 0.7627 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004146/0.6486, allocations: 38.28 kB / 0.7628 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006815/0.6493, allocations: 193.2 kB / 0.763 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007936/0.6501, allocations: 321.9 kB / 0.7633 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.6512, allocations: 433.7 kB / 0.7637 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008663/0.6521, allocations: 0.7431 MB / 0.7644 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.6523, allocations: 70.38 kB / 0.7645 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008704/0.6532, allocations: 409.2 kB / 0.7649 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005278/0.6537, allocations: 331.8 kB / 0.7652 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.689e-05/0.6538, allocations: 35.38 kB / 0.7652 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007777/0.6545, allocations: 379.3 kB / 0.7656 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.6547, allocations: 104.9 kB / 0.7657 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.6548, allocations: 172 kB / 0.7658 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009206/0.6558, allocations: 0.6416 MB / 0.7665 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6558, allocations: 1.703 kB / 0.7665 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6558, allocations: 0 / 0.7665 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.6558, allocations: 2.547 kB / 0.7665 GB, free: 3.086 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001643/0.6574, allocations: 0.7573 MB / 0.7672 GB, free: 18.65 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.6575, allocations: 12.97 kB / 0.7672 GB, free: 18.65 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.596e-05/0.6575, allocations: 62.41 kB / 0.7673 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.983e-05/0.6576, allocations: 53.39 kB / 0.7673 GB, free: 18.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007659/0.6584, allocations: 421.3 kB / 0.7677 GB, free: 18.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.6584, allocations: 18.11 kB / 0.7678 GB, free: 18.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.6585, allocations: 28.64 kB / 0.7678 GB, free: 18.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006504/0.6591, allocations: 448.3 kB / 0.7682 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.6591, allocations: 5.75 kB / 0.7682 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.6592, allocations: 9.219 kB / 0.7682 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/0.6592, allocations: 16.47 kB / 0.7682 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006574/0.6599, allocations: 487.5 kB / 0.7687 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.6617, allocations: 1.25 MB / 0.7699 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.6621, allocations: 229.1 kB / 0.7702 GB, free: 17.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.6625, allocations: 192.3 kB / 0.7703 GB, free: 17.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.6626, allocations: 27.7 kB / 0.7704 GB, free: 17.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.6627, allocations: 37.64 kB / 0.7704 GB, free: 17.69 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.6627, allocations: 0 / 0.7704 GB, free: 17.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002653/0.6653, allocations: 1.226 MB / 0.7716 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.6654, allocations: 57.97 kB / 0.7716 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.6658, allocations: 399.2 kB / 0.772 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.6658, allocations: 33.36 kB / 0.7721 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.6659, allocations: 201.8 kB / 0.7723 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.073e-05/0.666, allocations: 119.5 kB / 0.7724 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/0.6661, allocations: 69.84 kB / 0.7724 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.6663, allocations: 364.2 kB / 0.7728 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.6665, allocations: 143.1 kB / 0.7729 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.6667, allocations: 147.8 kB / 0.7731 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.6672, allocations: 333.7 kB / 0.7734 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.6672, allocations: 2.266 kB / 0.7734 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008497/0.6681, allocations: 0.523 MB / 0.7739 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.6681, allocations: 5.156 kB / 0.7739 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.6681, allocations: 4.594 kB / 0.7739 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000388/0.6685, allocations: 115.1 kB / 0.774 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.6687, allocations: 56.56 kB / 0.7741 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.6713, allocations: 2.213 MB / 0.7762 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.6715, allocations: 8.328 kB / 0.7762 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.6715, allocations: 17.25 kB / 0.7762 GB, free: 15.22 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * 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,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002063/0.6717, allocations: 166.4 kB / 0.7764 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/0.6718, allocations: 49.61 kB / 0.7765 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009395/0.6728, allocations: 0.652 MB / 0.7771 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.6728, allocations: 4.531 kB / 0.7771 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6728, allocations: 3.188 kB / 0.7771 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6728, allocations: 3.922 kB / 0.7771 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.6732, allocations: 363.5 kB / 0.7774 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6732, allocations: 8.875 kB / 0.7775 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.6733, allocations: 34.48 kB / 0.7775 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002984/0.6736, allocations: 120.5 kB / 0.7776 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.6737, allocations: 12.12 kB / 0.7776 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.676, allocations: 2.214 MB / 0.7798 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.676, allocations: 0.7188 kB / 0.7798 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009291/0.6769, allocations: 0.6518 MB / 0.7804 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.88e-05/0.677, allocations: 40.41 kB / 0.7805 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.677, allocations: 7.547 kB / 0.7805 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.6772, allocations: 5.719 kB / 0.7805 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.6772, allocations: 29.17 kB / 0.7805 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.6773, allocations: 12.39 kB / 0.7805 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003198/0.6776, allocations: 321.8 kB / 0.7808 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6776, allocations: 1 kB / 0.7808 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000499/0.6781, allocations: 111.3 kB / 0.7809 GB, free: 13.14 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (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 {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/0.6794, allocations: 1.27 MB / 0.7822 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000841/0.6803, allocations: 0.4997 MB / 0.7826 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6803, allocations: 96 / 0.7826 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005322/0.6808, allocations: 358.8 kB / 0.783 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.6814, allocations: 111.5 kB / 0.7831 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/0.6864, allocations: 4.139 MB / 0.7871 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.6866, allocations: 227.3 kB / 0.7874 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002694/0.6869, allocations: 96.33 kB / 0.7874 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.687, allocations: 154.5 kB / 0.7876 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/0.687, allocations: 5.484 kB / 0.7876 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/0.7332, allocations: 13.04 MB / 0.8003 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.54, allocations: 7.25 kB / 0.8003 GB, free: 8.848 MB / 0.5919 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.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.067485806997865]