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.001632/0.001632, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001842/0.001842, allocations: 216.8 kB / 22.99 MB, free: 4.914 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.8098/0.8098, allocations: 100.9 MB / 414.1 MB, free: 2.883 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: translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") [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.002609/0.002609, allocations: 91.8 kB / 0.5653 GB, free: 35.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1492, allocations: 74.62 MB / 0.6382 GB, free: 6.012 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.5384/0.6876, allocations: 124.6 MB / 0.7599 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005039/0.6926, allocations: 4.214 MB / 0.764 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000474/0.6931, allocations: 38.84 kB / 0.764 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.6938, allocations: 190.9 kB / 0.7642 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008424/0.6947, allocations: 321.7 kB / 0.7645 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.6959, allocations: 430.9 kB / 0.7649 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001007/0.6969, allocations: 0.7483 MB / 0.7656 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.6972, allocations: 71.97 kB / 0.7657 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009758/0.6981, allocations: 409.2 kB / 0.7661 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005852/0.6987, allocations: 336.4 kB / 0.7664 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.564e-05/0.6988, allocations: 33.84 kB / 0.7665 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008329/0.6996, allocations: 378.4 kB / 0.7668 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.6997, allocations: 107.9 kB / 0.7669 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.7, allocations: 169.6 kB / 0.7671 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.701, allocations: 0.642 MB / 0.7677 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.701, allocations: 0 / 0.7677 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.274e-06/0.701, allocations: 2.156 kB / 0.7677 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.701, allocations: 0 / 0.7677 GB, free: 3.773 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.001778/0.7028, allocations: 0.7538 MB / 0.7684 GB, free: 19.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.7029, allocations: 11.06 kB / 0.7685 GB, free: 19.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.865e-05/0.703, allocations: 53.61 kB / 0.7685 GB, free: 19.31 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007994/0.7038, allocations: 426 kB / 0.7689 GB, free: 19.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.7038, allocations: 19.88 kB / 0.7689 GB, free: 19.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.7038, allocations: 25.92 kB / 0.769 GB, free: 19.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/0.7045, allocations: 448.5 kB / 0.7694 GB, free: 19.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.7045, allocations: 0.8438 kB / 0.7694 GB, free: 19.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.7046, allocations: 12.19 kB / 0.7694 GB, free: 19.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.7046, allocations: 19.25 kB / 0.7694 GB, free: 19.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006649/0.7053, allocations: 489.2 kB / 0.7699 GB, free: 19.03 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.7072, allocations: 1.179 MB / 0.771 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.7076, allocations: 216.3 kB / 0.7712 GB, free: 18.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.7079, allocations: 194.1 kB / 0.7714 GB, free: 18.51 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.708, allocations: 31.03 kB / 0.7715 GB, free: 18.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.7081, allocations: 41.14 kB / 0.7715 GB, free: 18.47 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.803e-06/0.7081, allocations: 0.9688 kB / 0.7715 GB, free: 18.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002844/0.7109, allocations: 1.224 MB / 0.7727 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.711, allocations: 55.78 kB / 0.7727 GB, free: 18.13 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.7114, allocations: 324.7 kB / 0.773 GB, free: 18.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.7114, allocations: 30.86 kB / 0.7731 GB, free: 17.99 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.7115, allocations: 210.7 kB / 0.7733 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.533e-05/0.7116, allocations: 128 kB / 0.7734 GB, free: 17.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.864e-05/0.7117, allocations: 66.45 kB / 0.7735 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.7119, allocations: 350 kB / 0.7738 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.7121, allocations: 148.2 kB / 0.7739 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.7123, allocations: 149.5 kB / 0.7741 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.7128, allocations: 339.2 kB / 0.7744 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.7128, allocations: 0.9375 kB / 0.7744 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008352/0.7137, allocations: 0.5104 MB / 0.7749 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7137, allocations: 6.312 kB / 0.7749 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7137, allocations: 3.969 kB / 0.7749 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/0.714, allocations: 110.5 kB / 0.775 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.7143, allocations: 57.28 kB / 0.7751 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.717, allocations: 2.186 MB / 0.7772 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.7172, allocations: 10.38 kB / 0.7772 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.7173, allocations: 17.5 kB / 0.7772 GB, free: 16.02 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.0002443/0.7175, allocations: 167.5 kB / 0.7774 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.29e-05/0.7176, allocations: 42.77 kB / 0.7774 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.7187, allocations: 0.6496 MB / 0.7781 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.7187, allocations: 3.781 kB / 0.7781 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7187, allocations: 2.5 kB / 0.7781 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7187, allocations: 0.9062 kB / 0.7781 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.7191, allocations: 329.7 kB / 0.7784 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7191, allocations: 0 / 0.7784 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.7193, allocations: 34.91 kB / 0.7784 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002972/0.7196, allocations: 123.5 kB / 0.7785 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.7196, allocations: 14.83 kB / 0.7786 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.7219, allocations: 2.182 MB / 0.7807 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7219, allocations: 1.5 kB / 0.7807 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009436/0.7229, allocations: 0.6451 MB / 0.7813 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.7229, allocations: 39.22 kB / 0.7814 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.723, allocations: 6.5 kB / 0.7814 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.7231, allocations: 6.531 kB / 0.7814 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.7232, allocations: 22.77 kB / 0.7814 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.7232, allocations: 14.05 kB / 0.7814 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000268/0.7235, allocations: 271.2 kB / 0.7817 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.7235, allocations: 0 / 0.7817 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005583/0.724, allocations: 110.4 kB / 0.7818 GB, free: 14.02 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.0003164/0.7243, allocations: 187.3 kB / 0.7819 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009041/0.7252, allocations: 0.5001 MB / 0.7824 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7252, allocations: 0.8438 kB / 0.7824 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005534/0.7258, allocations: 354.2 kB / 0.7828 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.7262, allocations: 62.75 kB / 0.7828 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.7277, allocations: 0.9841 MB / 0.7838 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.7279, allocations: 228.5 kB / 0.784 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.7281, allocations: 45.88 kB / 0.7841 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.7281, allocations: 3.188 kB / 0.7841 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of Templates: time 0.01049/0.7385, allocations: 8.5 MB / 0.7924 GB, free: 12.43 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (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 & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] 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: 9.516203175764531]