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.001011/0.001011, 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.001156/0.001156, allocations: 177.4 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 1.058/1.058, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.7152/0.7152, allocations: 118.6 MB / 378.9 MB, free: 1.32 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.392e-06/1.392e-06, allocations: 0 / 430.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02e-05/1.159e-05, allocations: 6.25 kB / 430.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3295/0.3296, allocations: 128.8 MB / 0.5465 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0009674/0.3305, allocations: 0.7897 MB / 0.5473 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.3307, allocations: 31.69 kB / 0.5473 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.331, allocations: 82.66 kB / 0.5474 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.3312, allocations: 174.8 kB / 0.5476 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.3315, allocations: 127.6 kB / 0.5477 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.3319, allocations: 465.7 kB / 0.5482 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.332, allocations: 58.17 kB / 0.5482 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003638/0.3323, allocations: 287 kB / 0.5485 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.3325, allocations: 151.6 kB / 0.5486 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.3325, allocations: 20 kB / 0.5486 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.3327, allocations: 83.86 kB / 0.5487 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.3327, allocations: 51.72 kB / 0.5488 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.648e-05/0.3328, allocations: 99.7 kB / 0.5489 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.3331, allocations: 294.8 kB / 0.5491 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3331, allocations: 0 / 0.5491 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3331, allocations: 0 / 0.5491 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.3331, allocations: 0 / 0.5491 GB, free: 7.641 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.0005465/0.3336, allocations: 0.5492 MB / 0.5497 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.694e-05/0.3337, allocations: 8.031 kB / 0.5497 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.3337, allocations: 40.91 kB / 0.5497 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.334, allocations: 330.3 kB / 0.55 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3341, allocations: 20.73 kB / 0.5501 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.3341, allocations: 24.33 kB / 0.5501 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.3343, allocations: 163.4 kB / 0.5502 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3343, allocations: 192 / 0.5502 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3343, allocations: 12.36 kB / 0.5503 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3343, allocations: 11.94 kB / 0.5503 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.441e-05/0.3344, allocations: 42.81 kB / 0.5503 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.3349, allocations: 485.8 kB / 0.5508 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.335, allocations: 110.3 kB / 0.5509 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.3351, allocations: 28.86 kB / 0.5509 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/0.3351, allocations: 15.97 kB / 0.5509 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.3351, allocations: 34.56 kB / 0.551 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.3351, allocations: 0 / 0.551 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0006926/0.3358, allocations: 444.3 kB / 0.5514 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.3358, allocations: 59.34 kB / 0.5514 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.336, allocations: 271 kB / 0.5517 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.336, allocations: 25.7 kB / 0.5517 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.336, allocations: 157 kB / 0.5519 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.3361, allocations: 59.53 kB / 0.5519 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.3361, allocations: 33.69 kB / 0.552 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.3362, allocations: 346.7 kB / 0.5523 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.3362, allocations: 15.98 kB / 0.5523 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.49e-05/0.3363, allocations: 47.88 kB / 0.5523 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.167e-05/0.3363, allocations: 56.3 kB / 0.5524 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3363, allocations: 0 / 0.5524 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001783/0.3365, allocations: 158.2 kB / 0.5526 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.3365, allocations: 8 kB / 0.5526 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3365, allocations: 4.562 kB / 0.5526 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004293/0.337, allocations: 69.95 kB / 0.5526 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.446e-05/0.337, allocations: 27.98 kB / 0.5527 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009238/0.3379, allocations: 1.452 MB / 0.5541 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.338, allocations: 4 kB / 0.5541 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.338, allocations: 4 kB / 0.5541 GB, free: 2.297 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.369e-05/0.338, allocations: 116.7 kB / 0.5542 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.3381, allocations: 19.98 kB / 0.5542 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.3383, allocations: 200.5 kB / 0.5544 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.3383, allocations: 4 kB / 0.5544 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.3383, allocations: 0 / 0.5544 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3383, allocations: 1.75 kB / 0.5544 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.3387, allocations: 439.3 kB / 0.5548 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3387, allocations: 0 / 0.5548 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.603e-05/0.3387, allocations: 15.98 kB / 0.5548 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001454/0.3388, allocations: 80.92 kB / 0.5549 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3389, allocations: 11.98 kB / 0.5549 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008701/0.3397, allocations: 1.455 MB / 0.5564 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3397, allocations: 7.938 kB / 0.5564 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.34, allocations: 292.3 kB / 0.5566 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.34, allocations: 31.8 kB / 0.5567 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.34, allocations: 11.98 kB / 0.5567 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.404e-05/0.3401, allocations: 13.12 kB / 0.5567 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.3401, allocations: 19.91 kB / 0.5567 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3401, allocations: 4 kB / 0.5567 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.064e-05/0.3402, allocations: 112.7 kB / 0.5568 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3402, allocations: 0 / 0.5568 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000208/0.3404, allocations: 67.94 kB / 0.5569 GB, free: 15.24 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.0001115/0.3405, allocations: 96.41 kB / 0.557 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.3408, allocations: 250.8 kB / 0.5572 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3408, allocations: 4 kB / 0.5572 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.341, allocations: 235.4 kB / 0.5574 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.3413, allocations: 66.52 kB / 0.5575 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008855/0.3421, allocations: 0.6519 MB / 0.5582 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.257e-05/0.3422, allocations: 96.61 kB / 0.5582 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.507e-05/0.3423, allocations: 30.91 kB / 0.5583 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.3423, allocations: 99.34 kB / 0.5584 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of SimCode: time 7.32e-07/0.3423, allocations: 0 / 0.5584 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of Templates: time 0.006027/0.3484, allocations: 4.193 MB / 0.5625 GB, free: 9.547 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 -s gbode -gbm=radauIIA3 -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.790079697035253]