Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.002124/0.002124, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002487/0.002487, allocations: 215.7 kB / 22.24 MB, free: 5.246 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.807/1.807, allocations: 230.6 MB / 256 MB, free: 7.797 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 1.135/1.135, allocations: 94.62 MB / 407 MB, free: 8.945 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.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_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.00273/0.00273, allocations: 86.61 kB / 0.5549 GB, free: 38.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2286, allocations: 73.05 MB / 0.6263 GB, free: 208 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.2255/0.4541, allocations: 124.7 MB / 0.748 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6229/1.077, allocations: 4.203 MB / 0.7521 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/1.078, allocations: 38.38 kB / 0.7521 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/1.079, allocations: 186.2 kB / 0.7523 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00137/1.081, allocations: 325 kB / 0.7526 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/1.082, allocations: 433.3 kB / 0.753 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001817/1.084, allocations: 0.7507 MB / 0.7538 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003494/1.085, allocations: 68.5 kB / 0.7538 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/1.086, allocations: 409.8 kB / 0.7542 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007311/1.087, allocations: 332.6 kB / 0.7546 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/1.087, allocations: 33.09 kB / 0.7546 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/1.088, allocations: 382.3 kB / 0.7549 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001905/1.088, allocations: 102.8 kB / 0.755 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003554/1.089, allocations: 173.7 kB / 0.7552 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/1.09, allocations: 0.6375 MB / 0.7558 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/1.09, allocations: 0.7812 kB / 0.7558 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.935e-06/1.09, allocations: 0 / 0.7558 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.211e-05/1.09, allocations: 0.8438 kB / 0.7558 GB, free: 3.266 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.002935/1.093, allocations: 0.7607 MB / 0.7566 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 8.494e-05/1.093, allocations: 9.438 kB / 0.7566 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/1.093, allocations: 59.78 kB / 0.7566 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/1.093, allocations: 54.78 kB / 0.7567 GB, free: 18.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/1.095, allocations: 425.3 kB / 0.7571 GB, free: 18.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/1.095, allocations: 18.84 kB / 0.7571 GB, free: 18.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/1.095, allocations: 25.72 kB / 0.7571 GB, free: 18.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/1.096, allocations: 447.8 kB / 0.7576 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/1.096, allocations: 0.8125 kB / 0.7576 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/1.096, allocations: 13.34 kB / 0.7576 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-05/1.096, allocations: 18.58 kB / 0.7576 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009636/1.097, allocations: 490.2 kB / 0.7581 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/1.099, allocations: 1.238 MB / 0.7593 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/1.1, allocations: 230.5 kB / 0.7595 GB, free: 17.94 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/1.1, allocations: 192.5 kB / 0.7597 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/1.1, allocations: 24.59 kB / 0.7597 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.45e-05/1.1, allocations: 37.81 kB / 0.7597 GB, free: 17.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/1.1, allocations: 0.9062 kB / 0.7597 GB, free: 17.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.003011/1.103, allocations: 1.229 MB / 0.7609 GB, free: 17.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/1.104, allocations: 57.41 kB / 0.761 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/1.104, allocations: 401.6 kB / 0.7614 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/1.104, allocations: 33.47 kB / 0.7614 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/1.104, allocations: 199.6 kB / 0.7616 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/1.104, allocations: 132.5 kB / 0.7617 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/1.105, allocations: 63.75 kB / 0.7618 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002544/1.105, allocations: 365.4 kB / 0.7621 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/1.105, allocations: 140.5 kB / 0.7623 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/1.105, allocations: 150.8 kB / 0.7624 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/1.106, allocations: 334.1 kB / 0.7627 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/1.106, allocations: 0 / 0.7627 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001055/1.107, allocations: 0.5169 MB / 0.7632 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/1.107, allocations: 12.34 kB / 0.7633 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.107, allocations: 1 kB / 0.7633 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/1.107, allocations: 117 kB / 0.7634 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/1.108, allocations: 57.73 kB / 0.7634 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003861/1.112, allocations: 2.212 MB / 0.7656 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/1.112, allocations: 6.562 kB / 0.7656 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/1.112, allocations: 19.28 kB / 0.7656 GB, free: 15.43 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.0003074/1.112, allocations: 165.8 kB / 0.7658 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/1.112, allocations: 49.45 kB / 0.7658 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/1.114, allocations: 0.6471 MB / 0.7664 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.114, allocations: 5.344 kB / 0.7664 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.114, allocations: 4.375 kB / 0.7665 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.114, allocations: 3.75 kB / 0.7665 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008115/1.115, allocations: 368.3 kB / 0.7668 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.115, allocations: 3.938 kB / 0.7668 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/1.115, allocations: 31.09 kB / 0.7668 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004674/1.116, allocations: 129.5 kB / 0.767 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/1.116, allocations: 11.59 kB / 0.767 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003468/1.119, allocations: 2.208 MB / 0.7691 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.119, allocations: 3.297 kB / 0.7691 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/1.121, allocations: 0.6446 MB / 0.7698 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.684e-05/1.121, allocations: 41.98 kB / 0.7698 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/1.121, allocations: 5.406 kB / 0.7698 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/1.121, allocations: 11.11 kB / 0.7698 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/1.121, allocations: 28.03 kB / 0.7698 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/1.121, allocations: 7.75 kB / 0.7699 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006393/1.122, allocations: 324.6 kB / 0.7702 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/1.122, allocations: 0 / 0.7702 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008146/1.123, allocations: 112 kB / 0.7703 GB, free: 13.35 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.002646/1.125, allocations: 1.27 MB / 0.7715 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001469/1.127, allocations: 0.5036 MB / 0.772 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.127, allocations: 0.7188 kB / 0.772 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008341/1.127, allocations: 356.3 kB / 0.7723 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000841/1.128, allocations: 116.2 kB / 0.7725 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007904/1.136, allocations: 4.127 MB / 0.7765 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/1.137, allocations: 228.8 kB / 0.7767 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004123/1.137, allocations: 100.5 kB / 0.7768 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/1.137, allocations: 152.4 kB / 0.7769 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of SimCode: time 3.196e-06/1.137, allocations: 3.688 kB / 0.7769 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08258/1.22, allocations: 13.05 MB / 0.7897 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/15.15, allocations: 6.422 kB / 0.7897 GB, free: 9.156 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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: 20.151757304091007]