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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 108.3 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00263/0.00263, allocations: 200.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 249.9 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7829/0.7829, allocations: 94.59 MB / 399.7 MB, free: 15.8 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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.003682/0.003682, allocations: 81.78 kB / 0.5452 GB, free: 43.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1443, allocations: 71.86 MB / 0.6154 GB, free: 9.039 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.4581/0.6024, allocations: 145.1 MB / 0.7571 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004353/0.6068, allocations: 4.641 MB / 0.7617 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003748/0.6071, allocations: 30.95 kB / 0.7617 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006635/0.6078, allocations: 206.6 kB / 0.7619 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007182/0.6085, allocations: 324.3 kB / 0.7622 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.6096, allocations: 434.8 kB / 0.7626 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007252/0.6103, allocations: 0.7437 MB / 0.7633 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.6105, allocations: 69.59 kB / 0.7634 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006736/0.6111, allocations: 403.6 kB / 0.7638 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004538/0.6116, allocations: 346 kB / 0.7641 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.439e-05/0.6117, allocations: 32.19 kB / 0.7641 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009042/0.6126, allocations: 467.9 kB / 0.7646 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.6127, allocations: 102.6 kB / 0.7647 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.6129, allocations: 216 kB / 0.7649 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008867/0.6138, allocations: 0.6474 MB / 0.7655 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6138, allocations: 0.8125 kB / 0.7655 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6138, allocations: 0 / 0.7655 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.6138, allocations: 4.641 kB / 0.7655 GB, free: 2.652 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.001732/0.6155, allocations: 0.8328 MB / 0.7663 GB, free: 18.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.6156, allocations: 10.47 kB / 0.7664 GB, free: 18.12 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.999e-05/0.6156, allocations: 62.06 kB / 0.7664 GB, free: 18.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.6157, allocations: 54.44 kB / 0.7665 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008554/0.6166, allocations: 493.4 kB / 0.7669 GB, free: 17.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.6166, allocations: 18.44 kB / 0.767 GB, free: 17.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.6167, allocations: 27.92 kB / 0.767 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007662/0.6175, allocations: 449.6 kB / 0.7674 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.6175, allocations: 3.938 kB / 0.7674 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.6175, allocations: 10.34 kB / 0.7674 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/0.6176, allocations: 19.78 kB / 0.7674 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006986/0.6183, allocations: 482.9 kB / 0.7679 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.6203, allocations: 1.443 MB / 0.7693 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.6208, allocations: 226.1 kB / 0.7695 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.6212, allocations: 191.8 kB / 0.7697 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004144/0.6216, allocations: 337 kB / 0.77 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.6216, allocations: 41.58 kB / 0.7701 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.6216, allocations: 0 / 0.7701 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002976/0.6246, allocations: 1.527 MB / 0.7716 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.6246, allocations: 59.69 kB / 0.7716 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.6251, allocations: 396.4 kB / 0.772 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.6251, allocations: 31.92 kB / 0.772 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.6253, allocations: 205.1 kB / 0.7722 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.201e-05/0.6254, allocations: 121.1 kB / 0.7723 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.755e-05/0.6254, allocations: 61.78 kB / 0.7724 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6256, allocations: 361.8 kB / 0.7727 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.6258, allocations: 144.1 kB / 0.7729 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.626, allocations: 157.8 kB / 0.773 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.6264, allocations: 338.2 kB / 0.7734 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.6264, allocations: 0.6562 kB / 0.7734 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007292/0.6271, allocations: 0.518 MB / 0.7739 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.6272, allocations: 3.125 kB / 0.7739 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.6272, allocations: 2.594 kB / 0.7739 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000328/0.6275, allocations: 119.9 kB / 0.774 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.6277, allocations: 60.64 kB / 0.774 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.6301, allocations: 2.327 MB / 0.7763 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.6303, allocations: 14.3 kB / 0.7763 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.6303, allocations: 11.61 kB / 0.7763 GB, free: 13.59 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.000209/0.6305, allocations: 169.1 kB / 0.7765 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/0.6306, allocations: 45.5 kB / 0.7765 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009238/0.6315, allocations: 0.6555 MB / 0.7772 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6315, allocations: 2.594 kB / 0.7772 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6316, allocations: 3.125 kB / 0.7772 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6316, allocations: 0 / 0.7772 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.632, allocations: 446.5 kB / 0.7776 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.632, allocations: 5.031 kB / 0.7776 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.6322, allocations: 38.33 kB / 0.7777 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002991/0.6325, allocations: 128.1 kB / 0.7778 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.6325, allocations: 13.59 kB / 0.7778 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/0.6348, allocations: 2.332 MB / 0.7801 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6348, allocations: 3.094 kB / 0.7801 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008589/0.6357, allocations: 0.6431 MB / 0.7807 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.6358, allocations: 118.8 kB / 0.7808 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/0.6358, allocations: 7.625 kB / 0.7808 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.636, allocations: 7.75 kB / 0.7808 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.6361, allocations: 24.77 kB / 0.7809 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.6361, allocations: 12.28 kB / 0.7809 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002936/0.6364, allocations: 319.3 kB / 0.7812 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6364, allocations: 1.031 kB / 0.7812 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004893/0.6369, allocations: 111.3 kB / 0.7813 GB, free: 11.27 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.001343/0.6382, allocations: 1.276 MB / 0.7825 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008269/0.639, allocations: 0.5 MB / 0.783 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.639, allocations: 1.062 kB / 0.783 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005335/0.6396, allocations: 355.4 kB / 0.7833 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.6401, allocations: 110.5 kB / 0.7835 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/0.6451, allocations: 4.134 MB / 0.7875 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.6456, allocations: 0.8348 MB / 0.7883 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002957/0.6459, allocations: 91.3 kB / 0.7884 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.6461, allocations: 155.9 kB / 0.7885 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/0.6461, allocations: 0 / 0.7885 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04071/0.6868, allocations: 12.03 MB / 0.8003 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.41, allocations: 2.406 kB / 0.8003 GB, free: 6.57 MB / 0.5919 GB " [Timeout remaining time 648] (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_2/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: 14.933975369902328]