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.001474/0.001474, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 200.8 kB / 16.79 MB, free: 6.828 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.317/1.317, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6424/0.6424, allocations: 89.53 MB / 380.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 77.97 kB / 458.2 MB, free: 23.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1058, allocations: 67.32 MB / 0.5132 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3952/0.501, allocations: 139.6 MB / 0.6495 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005356/0.5064, allocations: 4.146 MB / 0.6536 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000418/0.5069, allocations: 8.688 kB / 0.6536 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007383/0.5077, allocations: 143.7 kB / 0.6537 GB, free: 9.965 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005901/0.5083, allocations: 154 kB / 0.6539 GB, free: 9.844 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.5087, allocations: 114.6 kB / 0.654 GB, free: 9.758 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.5092, allocations: 328.6 kB / 0.6543 GB, free: 9.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.5094, allocations: 90.33 kB / 0.6544 GB, free: 9.527 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003869/0.5098, allocations: 127.7 kB / 0.6545 GB, free: 9.461 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.5101, allocations: 161.6 kB / 0.6547 GB, free: 9.371 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.5102, allocations: 19.25 kB / 0.6547 GB, free: 9.367 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005982/0.5108, allocations: 259.8 kB / 0.6549 GB, free: 9.258 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.5109, allocations: 43.64 kB / 0.655 GB, free: 9.223 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.511, allocations: 107.9 kB / 0.6551 GB, free: 9.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.5114, allocations: 212.8 kB / 0.6553 GB, free: 9.023 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5114, allocations: 1.531 kB / 0.6553 GB, free: 9.023 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5114, allocations: 0 / 0.6553 GB, free: 9.023 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.5114, allocations: 0 / 0.6553 GB, free: 9.023 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.000992/0.5124, allocations: 0.5202 MB / 0.6558 GB, free: 8.531 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.5124, allocations: 8.438 kB / 0.6558 GB, free: 8.531 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.229e-05/0.5125, allocations: 24.81 kB / 0.6558 GB, free: 8.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.5128, allocations: 253.5 kB / 0.656 GB, free: 8.254 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.5128, allocations: 16.19 kB / 0.6561 GB, free: 8.246 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.5129, allocations: 16.66 kB / 0.6561 GB, free: 8.242 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/0.5132, allocations: 234.9 kB / 0.6563 GB, free: 8.082 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5133, allocations: 2.25 kB / 0.6563 GB, free: 8.082 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.5133, allocations: 4 kB / 0.6563 GB, free: 8.078 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5133, allocations: 5.594 kB / 0.6563 GB, free: 8.078 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.5135, allocations: 128.3 kB / 0.6564 GB, free: 8.016 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.5146, allocations: 0.7377 MB / 0.6572 GB, free: 7.375 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.5149, allocations: 138.5 kB / 0.6573 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.515, allocations: 73.73 kB / 0.6574 GB, free: 7.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.5152, allocations: 243.3 kB / 0.6576 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.5152, allocations: 38.5 kB / 0.6576 GB, free: 6.918 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.5153, allocations: 1.562 kB / 0.6576 GB, free: 6.918 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.001536/0.5168, allocations: 0.8901 MB / 0.6585 GB, free: 6.137 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.5168, allocations: 53.22 kB / 0.6586 GB, free: 6.074 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.5171, allocations: 234.1 kB / 0.6588 GB, free: 5.898 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.5171, allocations: 28.7 kB / 0.6588 GB, free: 5.867 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.5172, allocations: 127.4 kB / 0.6589 GB, free: 5.746 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/0.5172, allocations: 62.12 kB / 0.659 GB, free: 5.691 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.5173, allocations: 36.08 kB / 0.659 GB, free: 5.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5174, allocations: 328.4 kB / 0.6593 GB, free: 5.336 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.163e-05/0.5175, allocations: 55.31 kB / 0.6594 GB, free: 5.305 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-05/0.5176, allocations: 67.16 kB / 0.6594 GB, free: 5.262 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.5178, allocations: 128.5 kB / 0.6596 GB, free: 5.188 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5178, allocations: 0 / 0.6596 GB, free: 5.188 MB / 478.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004364/0.5183, allocations: 256.4 kB / 0.6598 GB, free: 5.035 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.5183, allocations: 8.562 kB / 0.6598 GB, free: 5.031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5183, allocations: 0 / 0.6598 GB, free: 5.031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003216/0.5186, allocations: 95.5 kB / 0.6599 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.5187, allocations: 16.5 kB / 0.6599 GB, free: 4.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.5205, allocations: 1.807 MB / 0.6617 GB, free: 3.328 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.458e-05/0.5206, allocations: 2.938 kB / 0.6617 GB, free: 3.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.5207, allocations: 4.469 kB / 0.6617 GB, free: 3.328 MB / 478.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.0001215/0.5208, allocations: 151.7 kB / 0.6618 GB, free: 3.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.5208, allocations: 21.69 kB / 0.6619 GB, free: 3.168 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/0.5213, allocations: 276.2 kB / 0.6621 GB, free: 2.973 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5213, allocations: 7.172 kB / 0.6621 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5213, allocations: 1.562 kB / 0.6621 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5213, allocations: 6.328 kB / 0.6621 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006932/0.522, allocations: 0.5905 MB / 0.6627 GB, free: 2.438 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5221, allocations: 3.984 kB / 0.6627 GB, free: 2.434 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/0.5221, allocations: 7.719 kB / 0.6627 GB, free: 2.434 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002642/0.5224, allocations: 94.3 kB / 0.6628 GB, free: 2.383 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.5224, allocations: 9.031 kB / 0.6628 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.5241, allocations: 1.811 MB / 0.6646 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5241, allocations: 0 / 0.6646 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.5246, allocations: 401.3 kB / 0.665 GB, free: 424 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.5247, allocations: 97.23 kB / 0.6651 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.5248, allocations: 4.125 kB / 0.6651 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.5249, allocations: 10.69 kB / 0.6651 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.5249, allocations: 8.891 kB / 0.6651 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.5249, allocations: 12.7 kB / 0.6651 GB, free: 292 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.5251, allocations: 181.6 kB / 0.6653 GB, free: 164 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.5251, allocations: 0 / 0.6653 GB, free: 164 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003555/0.5255, allocations: 86.72 kB / 0.6654 GB, free: 140 kB / 478.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.0002192/0.5257, allocations: 157.5 kB / 0.6655 GB, free: 24 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005563/0.5263, allocations: 296.5 kB / 0.6658 GB, free: 15.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5263, allocations: 0 / 0.6658 GB, free: 15.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004035/0.5267, allocations: 252 kB / 0.666 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/0.5273, allocations: 91.91 kB / 0.6661 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.5284, allocations: 0.6802 MB / 0.6668 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.5287, allocations: 0.7453 MB / 0.6675 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.5287, allocations: 25.64 kB / 0.6675 GB, free: 14.3 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5287, allocations: 0 / 0.6675 GB, free: 14.3 MB / 494.1 MB Notification: Performance of Templates: time 0.006996/0.5357, allocations: 4.734 MB / 0.6722 GB, free: 11.82 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches