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.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_dev_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_dev_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.001482/0.001482, allocations: 107.4 kB / 15.22 MB, free: 0.6523 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.001815/0.001815, allocations: 203 kB / 16.14 MB, free: 6.762 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6758/0.6758, allocations: 93.69 MB / 383.7 MB, free: 7.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 78.59 kB / 462.7 MB, free: 22.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1197, allocations: 68.27 MB / 0.5185 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3915/0.5112, allocations: 139.7 MB / 0.655 GB, free: 6.359 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004498/0.5157, allocations: 4.208 MB / 0.6591 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.5161, allocations: 19.03 kB / 0.6591 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005427/0.5167, allocations: 144 kB / 0.6593 GB, free: 2.84 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004517/0.5172, allocations: 192.4 kB / 0.6594 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.5175, allocations: 109.1 kB / 0.6595 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.5179, allocations: 419.6 kB / 0.6599 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.5181, allocations: 107.3 kB / 0.66 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003771/0.5185, allocations: 172 kB / 0.6602 GB, free: 2.211 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.5188, allocations: 181.4 kB / 0.6604 GB, free: 2.105 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.5188, allocations: 13.75 kB / 0.6604 GB, free: 2.105 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005087/0.5193, allocations: 265.4 kB / 0.6606 GB, free: 1.992 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.5194, allocations: 41.42 kB / 0.6607 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.5195, allocations: 143.2 kB / 0.6608 GB, free: 1.867 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.52, allocations: 343.1 kB / 0.6612 GB, free: 1.645 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.52, allocations: 6.906 kB / 0.6612 GB, free: 1.641 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.52, allocations: 0 / 0.6612 GB, free: 1.641 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.52, allocations: 0 / 0.6612 GB, free: 1.641 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.0009045/0.5209, allocations: 0.6034 MB / 0.6617 GB, free: 1.086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.521, allocations: 13.5 kB / 0.6618 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.5211, allocations: 38.81 kB / 0.6618 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.5215, allocations: 341.2 kB / 0.6621 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.5215, allocations: 14.53 kB / 0.6621 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.5216, allocations: 18.5 kB / 0.6622 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003969/0.522, allocations: 236.5 kB / 0.6624 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.522, allocations: 0 / 0.6624 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.522, allocations: 6.844 kB / 0.6624 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.522, allocations: 4.406 kB / 0.6624 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.5222, allocations: 129.8 kB / 0.6625 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.5233, allocations: 0.769 MB / 0.6633 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.5237, allocations: 141.7 kB / 0.6634 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.5238, allocations: 73.67 kB / 0.6635 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/0.524, allocations: 242.1 kB / 0.6637 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.524, allocations: 37.45 kB / 0.6637 GB, free: 15.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.524, allocations: 0 / 0.6637 GB, free: 15.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001561/0.5256, allocations: 0.9132 MB / 0.6646 GB, free: 14.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.5256, allocations: 57.56 kB / 0.6647 GB, free: 14.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.526, allocations: 335.6 kB / 0.665 GB, free: 14.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.526, allocations: 29.7 kB / 0.665 GB, free: 14.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.5261, allocations: 175.4 kB / 0.6652 GB, free: 14.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.5262, allocations: 54.48 kB / 0.6653 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.5263, allocations: 35.83 kB / 0.6653 GB, free: 14.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.5264, allocations: 346.5 kB / 0.6656 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.5265, allocations: 44.64 kB / 0.6657 GB, free: 13.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.5266, allocations: 73.69 kB / 0.6657 GB, free: 13.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.5268, allocations: 121.1 kB / 0.6658 GB, free: 13.56 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5268, allocations: 0 / 0.6658 GB, free: 13.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00047/0.5273, allocations: 275 kB / 0.6661 GB, free: 13.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5273, allocations: 9.438 kB / 0.6661 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.5273, allocations: 2.312 kB / 0.6661 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/0.5277, allocations: 96.45 kB / 0.6662 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.5279, allocations: 18.64 kB / 0.6662 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.5299, allocations: 1.797 MB / 0.668 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.36e-05/0.53, allocations: 4 kB / 0.668 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.53, allocations: 8.938 kB / 0.668 GB, free: 11.68 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.0001444/0.5302, allocations: 152.6 kB / 0.6681 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.5303, allocations: 30.91 kB / 0.6682 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005027/0.5308, allocations: 286.2 kB / 0.6684 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.5308, allocations: 2.094 kB / 0.6684 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.5308, allocations: 7.938 kB / 0.6685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5308, allocations: 2.922 kB / 0.6685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007694/0.5316, allocations: 0.6129 MB / 0.6691 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5316, allocations: 2.094 kB / 0.6691 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.978e-05/0.5317, allocations: 19.25 kB / 0.6691 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003039/0.532, allocations: 100.9 kB / 0.6692 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.532, allocations: 6.531 kB / 0.6692 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.5339, allocations: 1.801 MB / 0.6709 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5339, allocations: 4.359 kB / 0.6709 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.5345, allocations: 410.3 kB / 0.6713 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.5347, allocations: 114.2 kB / 0.6714 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.5347, allocations: 7.312 kB / 0.6714 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.5349, allocations: 4 kB / 0.6714 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.5349, allocations: 15.45 kB / 0.6715 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.5349, allocations: 4.656 kB / 0.6715 GB, free: 8.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.5352, allocations: 256.7 kB / 0.6717 GB, free: 8.438 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5352, allocations: 0 / 0.6717 GB, free: 8.438 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003825/0.5356, allocations: 74.53 kB / 0.6718 GB, free: 8.426 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.0002694/0.5358, allocations: 173.9 kB / 0.672 GB, free: 8.297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006102/0.5365, allocations: 301.9 kB / 0.6722 GB, free: 8.082 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5365, allocations: 0 / 0.6722 GB, free: 8.082 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004394/0.5369, allocations: 252.3 kB / 0.6725 GB, free: 7.887 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006992/0.5376, allocations: 101.4 kB / 0.6726 GB, free: 7.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.539, allocations: 0.7805 MB / 0.6733 GB, free: 7.258 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.5393, allocations: 0.7812 MB / 0.6741 GB, free: 6.516 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.5395, allocations: 42.61 kB / 0.6741 GB, free: 6.492 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.5395, allocations: 20.47 kB / 0.6742 GB, free: 6.484 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5395, allocations: 0 / 0.6742 GB, free: 6.484 MB / 494.1 MB Notification: Performance of Templates: time 0.009537/0.5491, allocations: 5.05 MB / 0.6791 GB, free: 3.977 MB / 494.1 MB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.makefile (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) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches