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.001311/0.001311, 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.001477/0.001477, allocations: 213.5 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.454/1.454, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8168/0.8168, allocations: 100.9 MB / 414.1 MB, free: 2.852 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.2..m_flow|splitterN.outlets.3..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.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter") [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.003349/0.003349, allocations: 93.03 kB / 0.5653 GB, free: 35.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1439, allocations: 74.61 MB / 0.6382 GB, free: 5.965 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.5127/0.6566, allocations: 121.9 MB / 0.7572 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004304/0.6609, allocations: 3.847 MB / 0.7609 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003969/0.6613, allocations: 22.34 kB / 0.761 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006772/0.662, allocations: 142 kB / 0.7611 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005975/0.6626, allocations: 220 kB / 0.7613 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.663, allocations: 123.8 kB / 0.7614 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004508/0.6634, allocations: 409.8 kB / 0.7618 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.6636, allocations: 60.72 kB / 0.7619 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004325/0.6641, allocations: 197 kB / 0.7621 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.6643, allocations: 163.4 kB / 0.7622 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.988e-05/0.6644, allocations: 19.02 kB / 0.7622 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005022/0.6649, allocations: 233.5 kB / 0.7625 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.665, allocations: 56.27 kB / 0.7625 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.6651, allocations: 111.9 kB / 0.7626 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006016/0.6657, allocations: 386.7 kB / 0.763 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6657, allocations: 1.094 kB / 0.763 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6657, allocations: 0.8438 kB / 0.763 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.6657, allocations: 0 / 0.763 GB, free: 3.383 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001123/0.6668, allocations: 0.5424 MB / 0.7635 GB, free: 19 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.6669, allocations: 11.5 kB / 0.7635 GB, free: 19 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.668e-05/0.6669, allocations: 39.64 kB / 0.7636 GB, free: 18.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.6675, allocations: 303.4 kB / 0.7639 GB, free: 18.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.6675, allocations: 15.72 kB / 0.7639 GB, free: 18.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.6676, allocations: 21.53 kB / 0.7639 GB, free: 18.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.668, allocations: 228.4 kB / 0.7641 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.668, allocations: 2.75 kB / 0.7641 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.668, allocations: 13.97 kB / 0.7641 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.668, allocations: 5.125 kB / 0.7641 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.6683, allocations: 137 kB / 0.7643 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.6693, allocations: 0.6254 MB / 0.7649 GB, free: 18.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.6697, allocations: 126.5 kB / 0.765 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.6698, allocations: 60.64 kB / 0.7651 GB, free: 18.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.203e-05/0.6699, allocations: 16.66 kB / 0.7651 GB, free: 18.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.6699, allocations: 33.78 kB / 0.7651 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.6699, allocations: 4.281 kB / 0.7651 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001493/0.6714, allocations: 0.6093 MB / 0.7657 GB, free: 18.13 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.6715, allocations: 61.59 kB / 0.7658 GB, free: 18.06 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.6717, allocations: 258.2 kB / 0.766 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.6718, allocations: 27.08 kB / 0.766 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.6719, allocations: 181.6 kB / 0.7662 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.6719, allocations: 57.75 kB / 0.7663 GB, free: 17.78 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.672, allocations: 35.55 kB / 0.7663 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6721, allocations: 339.1 kB / 0.7666 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/0.6722, allocations: 47.97 kB / 0.7667 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.951e-05/0.6723, allocations: 69.92 kB / 0.7667 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.6725, allocations: 124 kB / 0.7669 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.6725, allocations: 0.9062 kB / 0.7669 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004292/0.6729, allocations: 262.1 kB / 0.7671 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.6729, allocations: 5.5 kB / 0.7671 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.6729, allocations: 10.12 kB / 0.7671 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003215/0.6733, allocations: 92.31 kB / 0.7672 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.922e-05/0.6733, allocations: 18.58 kB / 0.7672 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.6754, allocations: 1.811 MB / 0.769 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.6755, allocations: 5.219 kB / 0.769 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.6755, allocations: 3.719 kB / 0.769 GB, free: 16.14 MB / 0.5919 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 0.0001675/0.6757, allocations: 148.8 kB / 0.7691 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.6757, allocations: 24.53 kB / 0.7692 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004872/0.6762, allocations: 279.8 kB / 0.7694 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.6762, allocations: 5.094 kB / 0.7694 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.6762, allocations: 2.375 kB / 0.7694 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.6762, allocations: 0.5625 kB / 0.7694 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007655/0.677, allocations: 0.5363 MB / 0.77 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.677, allocations: 2.531 kB / 0.77 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.677, allocations: 8.906 kB / 0.77 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.6773, allocations: 96.69 kB / 0.7701 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.6773, allocations: 10.83 kB / 0.7701 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.6792, allocations: 1.806 MB / 0.7718 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6792, allocations: 2.391 kB / 0.7718 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.6798, allocations: 407.7 kB / 0.7722 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.6798, allocations: 27.89 kB / 0.7723 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.6799, allocations: 4.531 kB / 0.7723 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.68, allocations: 4.531 kB / 0.7723 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.68, allocations: 25.62 kB / 0.7723 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.68, allocations: 5.031 kB / 0.7723 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002257/0.6803, allocations: 196 kB / 0.7725 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6803, allocations: 1.203 kB / 0.7725 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004955/0.6807, allocations: 76.67 kB / 0.7726 GB, free: 14.14 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (5): * Single equations (assignments): 4 * 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.0003018/0.681, allocations: 165.7 kB / 0.7727 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006158/0.6817, allocations: 295.8 kB / 0.773 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6817, allocations: 0 / 0.773 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.6821, allocations: 237.7 kB / 0.7732 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.6825, allocations: 36.06 kB / 0.7733 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.684, allocations: 0.7454 MB / 0.774 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.6843, allocations: 175 kB / 0.7742 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.6843, allocations: 22.69 kB / 0.7742 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.6843, allocations: 1.562 kB / 0.7742 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of Templates: time 0.009485/0.6938, allocations: 5.394 MB / 0.7794 GB, free: 12.95 MB / 0.5919 GB " [Timeout remaining time 659] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.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: 9.11477911984548]