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.001346/0.001346, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001489/0.001489, allocations: 181 kB / 23.36 MB, free: 1.133 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.8969/0.8969, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.6269/0.6269, allocations: 118.7 MB / 378.9 MB, free: 1.344 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.707e-06/9.849e-06, allocations: 5.406 kB / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.2427/0.2427, allocations: 129.1 MB / 0.5468 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.244, allocations: 1.382 MB / 0.5481 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.2441, allocations: 39.62 kB / 0.5482 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.2444, allocations: 117.3 kB / 0.5483 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000654/0.2451, allocations: 331.8 kB / 0.5486 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.2454, allocations: 223.2 kB / 0.5488 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.246, allocations: 0.8176 MB / 0.5496 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.2461, allocations: 80.83 kB / 0.5497 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004386/0.2466, allocations: 450.6 kB / 0.5501 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.2469, allocations: 355.2 kB / 0.5505 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.247, allocations: 28 kB / 0.5505 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.2472, allocations: 163.5 kB / 0.5507 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.2474, allocations: 123.6 kB / 0.5508 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.2475, allocations: 147.6 kB / 0.5509 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005986/0.2481, allocations: 0.4943 MB / 0.5514 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2481, allocations: 0 / 0.5514 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2481, allocations: 0 / 0.5514 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2481, allocations: 4 kB / 0.5514 GB, free: 5.516 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.001141/0.2493, allocations: 0.728 MB / 0.5521 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.2493, allocations: 12.03 kB / 0.5521 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.853e-05/0.2494, allocations: 52.89 kB / 0.5522 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.2499, allocations: 444.2 kB / 0.5526 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.2499, allocations: 20.88 kB / 0.5526 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.2499, allocations: 24.38 kB / 0.5526 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.2502, allocations: 260.9 kB / 0.5529 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.2502, allocations: 0 / 0.5529 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.2502, allocations: 15.94 kB / 0.5529 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.2503, allocations: 12.5 kB / 0.5529 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.2504, allocations: 150.1 kB / 0.5531 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.2515, allocations: 0.8816 MB / 0.5539 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.2517, allocations: 115.1 kB / 0.554 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.21e-05/0.2518, allocations: 80.81 kB / 0.5541 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.758e-05/0.2518, allocations: 23.61 kB / 0.5541 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2519, allocations: 38.56 kB / 0.5542 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.332e-06/0.2519, allocations: 3.938 kB / 0.5542 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.0009699/0.2528, allocations: 0.6611 MB / 0.5548 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.2529, allocations: 59.39 kB / 0.5549 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.253, allocations: 331.3 kB / 0.5552 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.253, allocations: 29.7 kB / 0.5552 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.643e-05/0.2531, allocations: 169.6 kB / 0.5554 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/0.2532, allocations: 126.9 kB / 0.5555 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/0.2533, allocations: 61.66 kB / 0.5556 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.2534, allocations: 358.6 kB / 0.5559 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.965e-05/0.2534, allocations: 48.86 kB / 0.5559 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-05/0.2535, allocations: 47.69 kB / 0.556 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.2536, allocations: 128.1 kB / 0.5561 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2536, allocations: 0 / 0.5561 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002786/0.2539, allocations: 269.2 kB / 0.5564 GB, free: 224 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.2539, allocations: 8 kB / 0.5564 GB, free: 216 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2539, allocations: 0 / 0.5564 GB, free: 216 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/0.2541, allocations: 89.53 kB / 0.5565 GB, free: 124 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.2542, allocations: 51.89 kB / 0.5565 GB, free: 72 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.2553, allocations: 1.74 MB / 0.5582 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.787e-05/0.2554, allocations: 8 kB / 0.5582 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.2554, allocations: 11.92 kB / 0.5582 GB, free: 14.21 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 9.35e-05/0.2555, allocations: 124.7 kB / 0.5583 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.2555, allocations: 39.91 kB / 0.5584 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000411/0.2559, allocations: 439 kB / 0.5588 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2559, allocations: 7.938 kB / 0.5588 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2559, allocations: 4 kB / 0.5588 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2559, allocations: 3.984 kB / 0.5588 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.2561, allocations: 214.2 kB / 0.559 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2561, allocations: 0 / 0.559 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-05/0.2562, allocations: 35.89 kB / 0.5591 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001807/0.2564, allocations: 94.72 kB / 0.5591 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.2564, allocations: 19.95 kB / 0.5592 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.2574, allocations: 1.709 MB / 0.5608 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2574, allocations: 3.938 kB / 0.5608 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.2578, allocations: 315.4 kB / 0.5611 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.2578, allocations: 51.69 kB / 0.5612 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.2578, allocations: 7.938 kB / 0.5612 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.2579, allocations: 4 kB / 0.5612 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.258, allocations: 28.05 kB / 0.5612 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.258, allocations: 11.92 kB / 0.5612 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.486e-05/0.2581, 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.2581, allocations: 4 kB / 0.5614 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002596/0.2583, allocations: 111.9 kB / 0.5615 GB, free: 10.69 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.0001286/0.2584, allocations: 104.3 kB / 0.5616 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.2588, allocations: 334.1 kB / 0.5619 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2588, allocations: 8 kB / 0.5619 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.2591, allocations: 283.8 kB / 0.5622 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.2595, allocations: 139.9 kB / 0.5623 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.2605, allocations: 0.7953 MB / 0.5631 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.334e-05/0.2605, allocations: 121.2 kB / 0.5632 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001144/0.2607, allocations: 63.25 kB / 0.5633 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.2608, allocations: 137.3 kB / 0.5634 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of SimCode: time 7.62e-07/0.2608, allocations: 0 / 0.5634 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of Templates: time 0.00829/0.2691, allocations: 7.278 MB / 0.5705 GB, free: 1.551 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.4348771860823035]