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.001547/0.001547, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001761/0.001761, allocations: 216.6 kB / 22.99 MB, free: 4.945 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 0.7305/0.7305, allocations: 94.61 MB / 407.8 MB, free: 8.863 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: 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_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_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.002484/0.002484, allocations: 101.2 kB / 0.5562 GB, free: 38.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1132, allocations: 73.05 MB / 0.6275 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1526/0.2658, allocations: 124.7 MB / 0.7492 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2857/0.5515, allocations: 4.203 MB / 0.7533 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003515/0.5518, allocations: 37.53 kB / 0.7534 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005656/0.5524, allocations: 184.7 kB / 0.7535 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006444/0.553, allocations: 322.5 kB / 0.7538 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009813/0.554, allocations: 432.8 kB / 0.7543 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007172/0.5547, allocations: 0.7479 MB / 0.755 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.5549, allocations: 75 kB / 0.7551 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006215/0.5555, allocations: 406 kB / 0.7555 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.5559, allocations: 336.1 kB / 0.7558 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.38e-05/0.556, allocations: 31.03 kB / 0.7558 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006216/0.5566, allocations: 387.8 kB / 0.7562 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.601e-05/0.5567, allocations: 101 kB / 0.7563 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.5568, allocations: 170.1 kB / 0.7564 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007105/0.5575, allocations: 0.6378 MB / 0.7571 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5575, allocations: 0 / 0.7571 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5575, allocations: 0.5 kB / 0.7571 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.5576, allocations: 1.375 kB / 0.7571 GB, free: 3.496 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.001404/0.559, allocations: 0.7642 MB / 0.7578 GB, free: 19.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.559, allocations: 10.42 kB / 0.7578 GB, free: 19.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.596e-05/0.5591, allocations: 52.83 kB / 0.7579 GB, free: 19.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007395/0.5598, allocations: 418 kB / 0.7583 GB, free: 18.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.5598, allocations: 20.52 kB / 0.7583 GB, free: 18.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.5599, allocations: 27.25 kB / 0.7583 GB, free: 18.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.5605, allocations: 449 kB / 0.7587 GB, free: 18.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.5606, allocations: 0 / 0.7587 GB, free: 18.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.5606, allocations: 12.62 kB / 0.7587 GB, free: 18.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/0.5606, allocations: 20.16 kB / 0.7588 GB, free: 18.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006505/0.5613, allocations: 484.5 kB / 0.7592 GB, free: 18.76 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.5632, allocations: 1.174 MB / 0.7604 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.5636, allocations: 231.4 kB / 0.7606 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.5639, allocations: 196.1 kB / 0.7608 GB, free: 18.24 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.5641, allocations: 30.09 kB / 0.7608 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.5641, allocations: 36.81 kB / 0.7608 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.585e-06/0.5641, allocations: 3.656 kB / 0.7608 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002613/0.5667, allocations: 1.218 MB / 0.762 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.5668, allocations: 54.55 kB / 0.7621 GB, free: 17.87 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.5671, allocations: 330.3 kB / 0.7624 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.5672, allocations: 33.45 kB / 0.7624 GB, free: 17.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.5673, allocations: 204.8 kB / 0.7626 GB, free: 17.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.5674, allocations: 130 kB / 0.7628 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.5675, allocations: 65.7 kB / 0.7628 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.5677, allocations: 351.9 kB / 0.7632 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.5679, allocations: 145.5 kB / 0.7633 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.5682, allocations: 144.4 kB / 0.7634 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.5686, allocations: 338.2 kB / 0.7638 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5686, allocations: 0 / 0.7638 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007853/0.5694, allocations: 0.5183 MB / 0.7643 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5694, allocations: 6.859 kB / 0.7643 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.5694, allocations: 1.75 kB / 0.7643 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003479/0.5698, allocations: 114.8 kB / 0.7644 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.5701, allocations: 57.11 kB / 0.7644 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.5727, allocations: 2.175 MB / 0.7666 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.5729, allocations: 11.12 kB / 0.7666 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.5729, allocations: 16.77 kB / 0.7666 GB, free: 15.77 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.0002262/0.5731, allocations: 166.4 kB / 0.7667 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.373e-05/0.5732, allocations: 43.39 kB / 0.7668 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.5743, allocations: 0.6589 MB / 0.7674 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.5743, allocations: 3.203 kB / 0.7674 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5744, allocations: 3.094 kB / 0.7674 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5744, allocations: 0.5312 kB / 0.7674 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/0.5748, allocations: 330.5 kB / 0.7677 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5748, allocations: 4.344 kB / 0.7678 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.575, allocations: 30.77 kB / 0.7678 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003377/0.5753, allocations: 126.9 kB / 0.7679 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.5754, allocations: 12.48 kB / 0.7679 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/0.5777, allocations: 2.18 MB / 0.77 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5777, allocations: 1 kB / 0.77 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008979/0.5786, allocations: 0.6506 MB / 0.7707 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.5787, allocations: 33.77 kB / 0.7707 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.5787, allocations: 5.375 kB / 0.7707 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.5789, allocations: 10.62 kB / 0.7707 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.5789, allocations: 25.25 kB / 0.7708 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.5789, allocations: 8.797 kB / 0.7708 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002598/0.5792, allocations: 266.9 kB / 0.771 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5792, allocations: 0 / 0.771 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005217/0.5797, allocations: 112.3 kB / 0.7711 GB, free: 13.77 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.0002555/0.58, allocations: 183 kB / 0.7713 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009155/0.5809, allocations: 0.5057 MB / 0.7718 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5809, allocations: 0.5 kB / 0.7718 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006067/0.5815, allocations: 347.3 kB / 0.7721 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.5819, allocations: 71.61 kB / 0.7722 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.5833, allocations: 0.9778 MB / 0.7731 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.5835, allocations: 231.9 kB / 0.7734 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.5836, allocations: 46.8 kB / 0.7734 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.5836, allocations: 0 / 0.7734 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.009126/0.5927, allocations: 8.506 MB / 0.7817 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (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 & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] 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: 8.88258098391816]