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.0008671/0.0008671, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009049/0.0009049, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.8721/0.8721, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6284/0.6284, allocations: 118.6 MB / 378.9 MB, free: 1.352 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 430.8 MB, free: 13.37 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011e-05/1.145e-05, allocations: 5.547 kB / 430.8 MB, free: 13.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.2635/0.2635, allocations: 129.1 MB / 0.5468 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2647, allocations: 1.379 MB / 0.5482 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.2648, allocations: 39.62 kB / 0.5482 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.2651, allocations: 117.2 kB / 0.5483 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.2655, allocations: 327.8 kB / 0.5486 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.2658, allocations: 227.2 kB / 0.5488 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005256/0.2664, allocations: 0.8215 MB / 0.5496 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.2665, allocations: 76.83 kB / 0.5497 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004216/0.2669, allocations: 450.6 kB / 0.5501 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.2672, allocations: 351.2 kB / 0.5505 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.2673, allocations: 32 kB / 0.5505 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.2675, allocations: 163.6 kB / 0.5507 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.2675, allocations: 127.5 kB / 0.5508 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.2679, allocations: 147.6 kB / 0.5509 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.2683, allocations: 0.4904 MB / 0.5514 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2683, allocations: 0 / 0.5514 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2683, allocations: 0 / 0.5514 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2683, allocations: 0 / 0.5514 GB, free: 5.527 MB / 0.4948 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.0007897/0.2691, allocations: 0.7358 MB / 0.5521 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.506e-05/0.2691, allocations: 8.031 kB / 0.5521 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/0.2691, allocations: 56.89 kB / 0.5522 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.2696, allocations: 444.3 kB / 0.5526 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2696, allocations: 16.88 kB / 0.5526 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.2696, allocations: 28.31 kB / 0.5526 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.2699, allocations: 261 kB / 0.5529 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2699, allocations: 0 / 0.5529 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.2699, allocations: 15.94 kB / 0.5529 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.2699, allocations: 12.5 kB / 0.5529 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.2701, allocations: 146.1 kB / 0.5531 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000893/0.271, allocations: 0.8777 MB / 0.5539 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.2712, allocations: 114.5 kB / 0.554 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.508e-05/0.2713, allocations: 84.81 kB / 0.5541 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.537e-05/0.2713, allocations: 27.61 kB / 0.5541 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2714, allocations: 38.56 kB / 0.5542 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.252e-06/0.2714, allocations: 0 / 0.5542 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.0009653/0.2723, allocations: 0.6689 MB / 0.5548 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.2723, allocations: 55.41 kB / 0.5549 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.2725, allocations: 327.3 kB / 0.5552 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.2725, allocations: 33.7 kB / 0.5552 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.2726, allocations: 169.6 kB / 0.5554 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.052e-05/0.2727, allocations: 126.9 kB / 0.5555 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.2727, allocations: 57.66 kB / 0.5556 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.828e-05/0.2728, allocations: 358.7 kB / 0.5559 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.2729, allocations: 40.86 kB / 0.5559 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.842e-05/0.2729, allocations: 55.69 kB / 0.556 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2731, allocations: 131.6 kB / 0.5561 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2731, allocations: 0 / 0.5561 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002781/0.2733, allocations: 261.8 kB / 0.5564 GB, free: 236 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.2734, allocations: 8 kB / 0.5564 GB, free: 228 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2734, allocations: 4 kB / 0.5564 GB, free: 224 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001797/0.2735, allocations: 91.2 kB / 0.5565 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.2737, allocations: 51.89 kB / 0.5565 GB, free: 80 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.2749, allocations: 1.741 MB / 0.5582 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.446e-05/0.275, allocations: 8 kB / 0.5582 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.275, allocations: 11.98 kB / 0.5582 GB, free: 14.22 MB / 0.5105 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 8.616e-05/0.2751, allocations: 120.7 kB / 0.5584 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.2751, allocations: 39.84 kB / 0.5584 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.2756, allocations: 445.5 kB / 0.5588 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2756, allocations: 7.938 kB / 0.5588 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.2756, allocations: 0 / 0.5588 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2756, allocations: 3.984 kB / 0.5588 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.2757, allocations: 217.6 kB / 0.559 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2757, allocations: 3.938 kB / 0.559 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.2758, allocations: 27.95 kB / 0.5591 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/0.276, allocations: 101.3 kB / 0.5592 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.276, allocations: 11.98 kB / 0.5592 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000991/0.277, allocations: 1.715 MB / 0.5608 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.277, allocations: 0 / 0.5608 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.2773, allocations: 314.5 kB / 0.5611 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.2774, allocations: 52.89 kB / 0.5612 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.2774, allocations: 8 kB / 0.5612 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.2775, allocations: 4 kB / 0.5612 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.2775, allocations: 28.03 kB / 0.5612 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.2775, allocations: 15.92 kB / 0.5612 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.417e-05/0.2776, allocations: 152.7 kB / 0.5614 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.2776, allocations: 0 / 0.5614 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002549/0.2779, allocations: 111.9 kB / 0.5615 GB, free: 10.7 MB / 0.5105 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.0001195/0.278, allocations: 104.3 kB / 0.5616 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.2784, allocations: 338 kB / 0.5619 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.2784, allocations: 4 kB / 0.5619 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.2786, allocations: 288.7 kB / 0.5622 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.2789, allocations: 135.9 kB / 0.5623 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.2799, allocations: 0.7943 MB / 0.5631 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.24e-05/0.28, allocations: 121.2 kB / 0.5632 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.2801, allocations: 59.27 kB / 0.5633 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.2803, allocations: 141.2 kB / 0.5634 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of SimCode: time 4.61e-07/0.2803, allocations: 0 / 0.5634 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of Templates: time 0.008427/0.2887, allocations: 7.271 MB / 0.5705 GB, free: 1.566 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3504461739212275]