Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.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.001412/0.001412, allocations: 76.94 kB / 19.93 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.001639/0.001639, allocations: 172.9 kB / 23.36 MB, free: 1.125 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.9412/0.9412, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.6516/0.6516, allocations: 118.6 MB / 378.9 MB, free: 1.309 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.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter") translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127e-05/1.259e-05, allocations: 5.406 kB / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.2633/0.2633, allocations: 128.8 MB / 0.5464 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0008217/0.2641, allocations: 0.79 MB / 0.5472 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.2643, allocations: 23.75 kB / 0.5472 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.2646, allocations: 86.31 kB / 0.5473 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.2649, allocations: 178.8 kB / 0.5475 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.2651, allocations: 120 kB / 0.5476 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.2654, allocations: 473.5 kB / 0.5481 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.2656, allocations: 62.16 kB / 0.5481 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/0.2659, allocations: 283.1 kB / 0.5484 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.2661, allocations: 155.6 kB / 0.5485 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.2661, allocations: 16 kB / 0.5486 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.2662, allocations: 75.89 kB / 0.5486 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.2662, allocations: 55.7 kB / 0.5487 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.2663, allocations: 95.72 kB / 0.5488 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.2666, allocations: 298.8 kB / 0.5491 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2666, allocations: 0 / 0.5491 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2666, allocations: 0 / 0.5491 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2666, allocations: 7.938 kB / 0.5491 GB, free: 7.758 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005209/0.2671, allocations: 0.5414 MB / 0.5496 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.2672, allocations: 12.03 kB / 0.5496 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.2672, allocations: 40.91 kB / 0.5496 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.2676, allocations: 334.3 kB / 0.55 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.2676, allocations: 16.75 kB / 0.55 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.2676, allocations: 20.33 kB / 0.55 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.2678, allocations: 163.4 kB / 0.5502 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2678, allocations: 192 / 0.5502 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.2678, allocations: 8.375 kB / 0.5502 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2678, allocations: 7.938 kB / 0.5502 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.393e-05/0.2679, allocations: 50.75 kB / 0.5502 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.2684, allocations: 497.8 kB / 0.5507 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.2685, allocations: 94.47 kB / 0.5508 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.2686, allocations: 33.41 kB / 0.5508 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.2686, allocations: 4 kB / 0.5508 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2686, allocations: 42.5 kB / 0.5509 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.012e-06/0.2686, allocations: 0 / 0.5509 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0007003/0.2693, allocations: 447.1 kB / 0.5513 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.2694, allocations: 59.34 kB / 0.5513 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.2695, allocations: 271 kB / 0.5516 GB, free: 5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.2695, allocations: 25.7 kB / 0.5516 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.2696, allocations: 157 kB / 0.5518 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.2696, allocations: 59.53 kB / 0.5518 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.2696, allocations: 33.69 kB / 0.5519 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002938/0.2699, allocations: 354.7 kB / 0.5522 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.307e-05/0.27, allocations: 12 kB / 0.5522 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.27, allocations: 37.59 kB / 0.5522 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.361e-05/0.2701, allocations: 63.58 kB / 0.5523 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2701, allocations: 0 / 0.5523 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001833/0.2702, allocations: 161.6 kB / 0.5525 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2703, allocations: 11.98 kB / 0.5525 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2703, allocations: 0 / 0.5525 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/0.2704, allocations: 76.02 kB / 0.5525 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.291e-05/0.2705, allocations: 16 kB / 0.5526 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008826/0.2714, allocations: 1.443 MB / 0.554 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/0.2714, allocations: 8 kB / 0.554 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2714, allocations: 0 / 0.554 GB, free: 2.434 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 10 * 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,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.408e-05/0.2715, allocations: 124.6 kB / 0.5541 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.2715, allocations: 23.97 kB / 0.5541 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.2717, allocations: 193.3 kB / 0.5543 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.2717, allocations: 0 / 0.5543 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.2717, allocations: 4 kB / 0.5543 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2717, allocations: 0 / 0.5543 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.2721, allocations: 435.3 kB / 0.5547 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2721, allocations: 4 kB / 0.5547 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.2721, allocations: 9.812 kB / 0.5547 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001495/0.2723, allocations: 84.97 kB / 0.5548 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2723, allocations: 8 kB / 0.5548 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008062/0.2731, allocations: 1.454 MB / 0.5562 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2731, allocations: 3.938 kB / 0.5562 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.2733, allocations: 296.4 kB / 0.5565 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.2734, allocations: 31.8 kB / 0.5566 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.2734, allocations: 8.75 kB / 0.5566 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.22e-05/0.2734, allocations: 7.938 kB / 0.5566 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.2735, allocations: 23.91 kB / 0.5566 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.2735, allocations: 4 kB / 0.5566 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.168e-05/0.2735, allocations: 116.7 kB / 0.5567 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.2735, allocations: 0 / 0.5567 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000202/0.2737, allocations: 67.94 kB / 0.5568 GB, free: 15.38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.inlet.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 (7): * Single equations (assignments): 6 * 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,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001114/0.2738, allocations: 97.08 kB / 0.5569 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.2741, allocations: 250.8 kB / 0.5571 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2741, allocations: 4 kB / 0.5571 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.2743, allocations: 235.4 kB / 0.5573 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.2746, allocations: 75.14 kB / 0.5574 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000877/0.2755, allocations: 0.6502 MB / 0.558 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.878e-05/0.2755, allocations: 96.61 kB / 0.5581 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.489e-05/0.2756, allocations: 26.97 kB / 0.5582 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.825e-05/0.2757, allocations: 99.34 kB / 0.5583 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/0.2757, allocations: 0 / 0.5583 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.006073/0.2817, allocations: 4.192 MB / 0.5624 GB, free: 9.688 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_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.33447055099532]