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.001506/0.001506, allocations: 108 kB / 15.6 MB, free: 132 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.001865/0.001865, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6479/0.6479, allocations: 91.18 MB / 381.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 73.61 kB / 460.3 MB, free: 23.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.135, allocations: 67.69 MB / 0.5156 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3827/0.5178, allocations: 141.5 MB / 0.6538 GB, free: 8.883 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004283/0.5221, allocations: 4.152 MB / 0.6579 GB, free: 5.527 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/0.5224, allocations: 20.81 kB / 0.6579 GB, free: 5.516 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.523, allocations: 167.5 kB / 0.658 GB, free: 5.379 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.5235, allocations: 200.6 kB / 0.6582 GB, free: 5.215 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.5238, allocations: 121.6 kB / 0.6583 GB, free: 5.121 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.5242, allocations: 377 kB / 0.6587 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.5244, allocations: 108.5 kB / 0.6588 GB, free: 4.848 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.5247, allocations: 183.1 kB / 0.659 GB, free: 4.738 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.525, allocations: 172.1 kB / 0.6591 GB, free: 4.641 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.525, allocations: 18.31 kB / 0.6592 GB, free: 4.641 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004815/0.5255, allocations: 263.6 kB / 0.6594 GB, free: 4.535 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.5256, allocations: 52.5 kB / 0.6595 GB, free: 4.492 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.5257, allocations: 143.7 kB / 0.6596 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004713/0.5262, allocations: 357.7 kB / 0.6599 GB, free: 4.176 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5262, allocations: 0 / 0.6599 GB, free: 4.176 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5262, allocations: 10.84 kB / 0.66 GB, free: 4.168 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.5262, allocations: 0 / 0.66 GB, free: 4.168 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.0008332/0.5271, allocations: 0.6008 MB / 0.6605 GB, free: 3.613 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.5271, allocations: 10.38 kB / 0.6605 GB, free: 3.613 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.5272, allocations: 33.91 kB / 0.6606 GB, free: 3.598 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.5276, allocations: 330.3 kB / 0.6609 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.5276, allocations: 20.91 kB / 0.6609 GB, free: 3.277 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.5276, allocations: 16.66 kB / 0.6609 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.528, allocations: 229.1 kB / 0.6611 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.528, allocations: 0 / 0.6611 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.528, allocations: 6.688 kB / 0.6612 GB, free: 3.117 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.528, allocations: 4.781 kB / 0.6612 GB, free: 3.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.5282, allocations: 129.5 kB / 0.6613 GB, free: 3.055 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009606/0.5292, allocations: 0.7685 MB / 0.662 GB, free: 2.391 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.5295, allocations: 142.8 kB / 0.6622 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.5296, allocations: 66.31 kB / 0.6622 GB, free: 2.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.5298, allocations: 246.9 kB / 0.6625 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.5298, allocations: 32.97 kB / 0.6625 GB, free: 1.941 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.966e-06/0.5298, allocations: 0 / 0.6625 GB, free: 1.941 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.001811/0.5316, allocations: 0.9208 MB / 0.6634 GB, free: 1.137 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.5317, allocations: 53.75 kB / 0.6635 GB, free: 1.074 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.5321, allocations: 325.9 kB / 0.6638 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.5321, allocations: 33.64 kB / 0.6638 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.5322, allocations: 167.8 kB / 0.664 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/0.5323, allocations: 66.41 kB / 0.664 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.5323, allocations: 32.31 kB / 0.664 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5325, allocations: 342.4 kB / 0.6644 GB, free: 260 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.788e-05/0.5326, allocations: 50.55 kB / 0.6644 GB, free: 232 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.5327, allocations: 69.28 kB / 0.6645 GB, free: 188 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.5329, allocations: 119.4 kB / 0.6646 GB, free: 120 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5329, allocations: 0 / 0.6646 GB, free: 120 kB / 478.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004321/0.5333, allocations: 273.5 kB / 0.6649 GB, free: 15.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5334, allocations: 8.625 kB / 0.6649 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5334, allocations: 0 / 0.6649 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003004/0.5337, allocations: 93.08 kB / 0.665 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.5338, allocations: 19.42 kB / 0.665 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.5357, allocations: 1.954 MB / 0.6669 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.406e-05/0.5358, allocations: 7.938 kB / 0.6669 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.5358, allocations: 6.719 kB / 0.6669 GB, free: 14.1 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.000122/0.5359, allocations: 148.9 kB / 0.667 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.536, allocations: 33 kB / 0.6671 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.5365, allocations: 282.5 kB / 0.6673 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5365, allocations: 6.75 kB / 0.6674 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5365, allocations: 6.156 kB / 0.6674 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.5365, allocations: 0 / 0.6674 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.5372, allocations: 0.6151 MB / 0.668 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5372, allocations: 0 / 0.668 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.5373, allocations: 10.83 kB / 0.668 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002576/0.5375, allocations: 98.36 kB / 0.6681 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.5376, allocations: 12.72 kB / 0.6681 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.5394, allocations: 1.952 MB / 0.67 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5394, allocations: 5.781 kB / 0.67 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.54, allocations: 418.4 kB / 0.6704 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.54, allocations: 100.1 kB / 0.6705 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.5401, allocations: 10.66 kB / 0.6705 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.5402, allocations: 0 / 0.6705 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.5403, allocations: 22.81 kB / 0.6705 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.5403, allocations: 5.844 kB / 0.6705 GB, free: 10.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.5405, allocations: 246.1 kB / 0.6708 GB, free: 10.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5405, allocations: 0 / 0.6708 GB, free: 10.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.5409, allocations: 70.44 kB / 0.6708 GB, free: 10.72 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.0002633/0.5411, allocations: 180.6 kB / 0.671 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005861/0.5417, allocations: 299.6 kB / 0.6713 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5418, allocations: 6.312 kB / 0.6713 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003991/0.5422, allocations: 240.8 kB / 0.6715 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000684/0.5429, allocations: 98.72 kB / 0.6716 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.5441, allocations: 0.7086 MB / 0.6723 GB, free: 9.625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.5445, allocations: 0.7783 MB / 0.6731 GB, free: 8.883 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.312e-05/0.5446, allocations: 28.16 kB / 0.6731 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.5446, allocations: 22.91 kB / 0.6731 GB, free: 8.863 MB / 494.1 MB Notification: Performance of SimCode: time 4.318e-06/0.5446, allocations: 0 / 0.6731 GB, free: 8.863 MB / 494.1 MB Notification: Performance of Templates: time 0.00888/0.5535, allocations: 5.186 MB / 0.6782 GB, free: 6.281 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