Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 195 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6921/0.6921, allocations: 91.19 MB / 381.2 MB, free: 9.598 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 82.62 kB / 459.6 MB, free: 23.4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1177, allocations: 67.7 MB / 0.515 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3926/0.5103, allocations: 139.7 MB / 0.6514 GB, free: 10.35 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004499/0.5149, allocations: 4.19 MB / 0.6555 GB, free: 6.977 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003639/0.5153, allocations: 18.06 kB / 0.6555 GB, free: 6.969 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005908/0.5159, allocations: 135.1 kB / 0.6557 GB, free: 6.863 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004444/0.5163, allocations: 187.4 kB / 0.6558 GB, free: 6.711 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.5167, allocations: 115.2 kB / 0.656 GB, free: 6.625 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.517, allocations: 387.4 kB / 0.6563 GB, free: 6.402 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.5172, allocations: 98 kB / 0.6564 GB, free: 6.352 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.5176, allocations: 171.3 kB / 0.6566 GB, free: 6.254 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.5179, allocations: 173.1 kB / 0.6567 GB, free: 6.156 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.5179, allocations: 12.97 kB / 0.6568 GB, free: 6.156 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005546/0.5185, allocations: 278.3 kB / 0.657 GB, free: 6.031 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.5e-05/0.5186, allocations: 40.33 kB / 0.6571 GB, free: 6 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.5187, allocations: 134.7 kB / 0.6572 GB, free: 5.914 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.5193, allocations: 342.3 kB / 0.6575 GB, free: 5.691 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5193, allocations: 1.062 kB / 0.6575 GB, free: 5.691 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.5193, allocations: 0 / 0.6575 GB, free: 5.691 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.5193, allocations: 0 / 0.6575 GB, free: 5.691 MB / 478.1 MB 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.5205, allocations: 0.5993 MB / 0.6581 GB, free: 5.141 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.5205, allocations: 8.656 kB / 0.6581 GB, free: 5.141 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.138e-05/0.5206, allocations: 34.59 kB / 0.6581 GB, free: 5.125 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/0.5211, allocations: 331.7 kB / 0.6585 GB, free: 4.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.5211, allocations: 16.09 kB / 0.6585 GB, free: 4.812 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.5212, allocations: 28.53 kB / 0.6585 GB, free: 4.797 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/0.5216, allocations: 225.2 kB / 0.6587 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5216, allocations: 0 / 0.6587 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.5217, allocations: 9.656 kB / 0.6587 GB, free: 4.641 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.5217, allocations: 7.812 kB / 0.6587 GB, free: 4.637 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.5219, allocations: 126.1 kB / 0.6589 GB, free: 4.578 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.523, allocations: 0.771 MB / 0.6596 GB, free: 3.914 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.5233, allocations: 135.1 kB / 0.6597 GB, free: 3.836 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.5235, allocations: 65.66 kB / 0.6598 GB, free: 3.801 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.5237, allocations: 249.3 kB / 0.66 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.5237, allocations: 35.88 kB / 0.6601 GB, free: 3.465 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.5237, allocations: 5.625 kB / 0.6601 GB, free: 3.461 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.001669/0.5254, allocations: 0.9132 MB / 0.661 GB, free: 2.664 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.5254, allocations: 57.53 kB / 0.661 GB, free: 2.598 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.5258, allocations: 330.3 kB / 0.6613 GB, free: 2.387 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.5258, allocations: 25.7 kB / 0.6614 GB, free: 2.355 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.5259, allocations: 167.7 kB / 0.6615 GB, free: 2.203 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.281e-05/0.526, allocations: 66.75 kB / 0.6616 GB, free: 2.145 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.5261, allocations: 27.34 kB / 0.6616 GB, free: 2.121 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5263, allocations: 346.8 kB / 0.6619 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-05/0.5263, allocations: 45.17 kB / 0.662 GB, free: 1.762 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.5265, allocations: 66.98 kB / 0.6621 GB, free: 1.719 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.5267, allocations: 127.1 kB / 0.6622 GB, free: 1.645 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5267, allocations: 0 / 0.6622 GB, free: 1.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004574/0.5271, allocations: 269.3 kB / 0.6624 GB, free: 1.484 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5272, allocations: 12.5 kB / 0.6624 GB, free: 1.477 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5272, allocations: 4 kB / 0.6624 GB, free: 1.473 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.5275, allocations: 87.58 kB / 0.6625 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.737e-05/0.5276, allocations: 22.86 kB / 0.6626 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.5296, allocations: 1.808 MB / 0.6643 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.765e-05/0.5297, allocations: 4 kB / 0.6643 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.5297, allocations: 5 kB / 0.6643 GB, free: 15.77 MB / 494.1 MB 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.0001543/0.5299, allocations: 152.8 kB / 0.6645 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.5299, allocations: 30.72 kB / 0.6645 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.5305, allocations: 282.6 kB / 0.6648 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.5305, allocations: 3.984 kB / 0.6648 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5305, allocations: 2.844 kB / 0.6648 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5305, allocations: 288 / 0.6648 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009442/0.5315, allocations: 0.6228 MB / 0.6654 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5315, allocations: 4.094 kB / 0.6654 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.5315, allocations: 11.77 kB / 0.6654 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003021/0.5318, allocations: 96.02 kB / 0.6655 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.5319, allocations: 10.34 kB / 0.6655 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.5341, allocations: 1.8 MB / 0.6673 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.5341, allocations: 4.031 kB / 0.6673 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/0.5347, allocations: 406.7 kB / 0.6677 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.5349, allocations: 109 kB / 0.6678 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.5349, allocations: 2.25 kB / 0.6678 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.5351, allocations: 10.94 kB / 0.6678 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.5351, allocations: 9.891 kB / 0.6678 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.5351, allocations: 12.66 kB / 0.6678 GB, free: 12.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002838/0.5354, allocations: 249.8 kB / 0.668 GB, free: 12.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5354, allocations: 0 / 0.668 GB, free: 12.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004093/0.5359, allocations: 79.12 kB / 0.6681 GB, free: 12.52 MB / 494.1 MB 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.0002495/0.5361, allocations: 179.5 kB / 0.6683 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000584/0.5367, allocations: 298 kB / 0.6686 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5367, allocations: 2.469 kB / 0.6686 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003855/0.5371, allocations: 241.7 kB / 0.6688 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/0.5378, allocations: 101.3 kB / 0.6689 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.539, allocations: 0.779 MB / 0.6696 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.5393, allocations: 0.7807 MB / 0.6704 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.5395, allocations: 40.33 kB / 0.6704 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.5395, allocations: 24.12 kB / 0.6705 GB, free: 10.57 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.5395, allocations: 0 / 0.6705 GB, free: 10.57 MB / 494.1 MB Notification: Performance of Templates: time 0.008808/0.5483, allocations: 5.016 MB / 0.6754 GB, free: 8.078 MB / 494.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.makefile (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches