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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 225.6 MB / 249.9 MB, free: 3.254 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.566/0.566, allocations: 94.58 MB / 399.6 MB, free: 15.9 MB / 334.1 MB [Timeout remaining time 89] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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: 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: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 91.86 kB / 0.5452 GB, free: 12.31 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3541, allocations: 71.84 MB / 0.6154 GB, free: 4.141 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1658/0.52, allocations: 145 MB / 0.7569 GB, free: 3.668 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.005365/0.5253, allocations: 4.605 MB / 0.7614 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000377/0.5257, allocations: 27.81 kB / 0.7615 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007005/0.5264, allocations: 214.6 kB / 0.7617 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007841/0.5272, allocations: 322.2 kB / 0.762 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.5283, allocations: 434.3 kB / 0.7624 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008372/0.5291, allocations: 0.7401 MB / 0.7631 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.5293, allocations: 82.28 kB / 0.7632 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007436/0.5301, allocations: 398.4 kB / 0.7636 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.5306, allocations: 354.7 kB / 0.7639 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.677e-05/0.5306, allocations: 28 kB / 0.7639 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009399/0.5316, allocations: 471 kB / 0.7644 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.5317, allocations: 107.6 kB / 0.7645 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.5319, allocations: 206.8 kB / 0.7647 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008498/0.5327, allocations: 0.6487 MB / 0.7653 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5327, allocations: 4 kB / 0.7653 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5327, allocations: 0 / 0.7653 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.5327, allocations: 0 / 0.7653 GB, free: 11.06 MB / 0.5919 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.001517/0.5343, allocations: 0.8369 MB / 0.7661 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.5343, allocations: 8.031 kB / 0.7661 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.796e-05/0.5344, allocations: 52.61 kB / 0.7662 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007281/0.5351, allocations: 490.2 kB / 0.7667 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.5352, allocations: 16.94 kB / 0.7667 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.5352, allocations: 32.31 kB / 0.7667 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006614/0.5359, allocations: 449.3 kB / 0.7671 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5359, allocations: 0 / 0.7671 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.5359, allocations: 12 kB / 0.7671 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.536, allocations: 16.55 kB / 0.7672 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000714/0.5367, allocations: 485.8 kB / 0.7676 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.5387, allocations: 1.439 MB / 0.769 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.5392, allocations: 230.4 kB / 0.7692 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.5395, allocations: 196 kB / 0.7694 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003009/0.5398, allocations: 336.4 kB / 0.7698 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.5398, allocations: 38.56 kB / 0.7698 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.393e-06/0.5398, allocations: 0 / 0.7698 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.00261/0.5424, allocations: 1.527 MB / 0.7713 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.5425, allocations: 55.41 kB / 0.7713 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/0.5429, allocations: 394 kB / 0.7717 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.5429, allocations: 33.7 kB / 0.7717 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.5431, allocations: 204.6 kB / 0.7719 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.5432, allocations: 119 kB / 0.7721 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.5433, allocations: 69.67 kB / 0.7721 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5434, allocations: 366.7 kB / 0.7725 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.5437, allocations: 139.9 kB / 0.7726 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.5439, allocations: 152.3 kB / 0.7727 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005261/0.5444, allocations: 341.2 kB / 0.7731 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5444, allocations: 4 kB / 0.7731 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008686/0.5453, allocations: 0.5171 MB / 0.7736 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.5453, allocations: 6.031 kB / 0.7736 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5453, allocations: 0 / 0.7736 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003698/0.5457, allocations: 116.7 kB / 0.7737 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.546, allocations: 63.81 kB / 0.7738 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.5486, allocations: 2.333 MB / 0.776 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.5488, allocations: 16.03 kB / 0.7761 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.5489, allocations: 11.98 kB / 0.7761 GB, free: 15.46 MB / 0.6075 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.0002106/0.5491, allocations: 175.5 kB / 0.7762 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.741e-05/0.5492, allocations: 43.72 kB / 0.7763 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.5502, allocations: 0.6545 MB / 0.7769 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.5502, allocations: 7.938 kB / 0.7769 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.5502, allocations: 0 / 0.7769 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.5502, allocations: 4 kB / 0.7769 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.5507, allocations: 445.2 kB / 0.7773 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5507, allocations: 7.938 kB / 0.7774 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.5509, allocations: 27.95 kB / 0.7774 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00032/0.5512, allocations: 128.7 kB / 0.7775 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.5512, allocations: 7.984 kB / 0.7775 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/0.5538, allocations: 2.342 MB / 0.7798 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5538, allocations: 0 / 0.7798 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.5548, allocations: 0.6499 MB / 0.7804 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.543e-05/0.5549, allocations: 116.9 kB / 0.7805 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.5549, allocations: 4 kB / 0.7806 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.5551, allocations: 8 kB / 0.7806 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.5552, allocations: 27.95 kB / 0.7806 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.5552, allocations: 11.98 kB / 0.7806 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003501/0.5555, allocations: 322.9 kB / 0.7809 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.5555, allocations: 0 / 0.7809 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004788/0.556, allocations: 104 kB / 0.781 GB, free: 10.12 MB / 0.6075 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.0002845/0.5563, allocations: 195.3 kB / 0.7812 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000897/0.5572, allocations: 0.4943 MB / 0.7817 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5572, allocations: 0 / 0.7817 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000592/0.5578, allocations: 358.3 kB / 0.782 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.5584, allocations: 120.7 kB / 0.7821 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.56, allocations: 0.9853 MB / 0.7831 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.5604, allocations: 0.8309 MB / 0.7839 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.5605, allocations: 51.5 kB / 0.784 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.5605, allocations: 3.938 kB / 0.784 GB, free: 7 MB / 0.6075 GB Notification: Performance of Templates: time 0.01218/0.5727, allocations: 8.961 MB / 0.7927 GB, free: 14.05 MB / 0.6231 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