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.001089/0.001089, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001151/0.001151, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.324/1.324, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6679/0.6679, allocations: 91.21 MB / 381.3 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 80.44 kB / 459.8 MB, free: 23.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1254, allocations: 67.7 MB / 0.5151 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3629/0.4883, allocations: 139.9 MB / 0.6518 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004137/0.4925, allocations: 4.177 MB / 0.6558 GB, free: 7.023 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.4928, allocations: 17.16 kB / 0.6558 GB, free: 7.016 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004773/0.4933, allocations: 142.9 kB / 0.656 GB, free: 6.906 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.4938, allocations: 189.1 kB / 0.6562 GB, free: 6.754 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.4941, allocations: 114.3 kB / 0.6563 GB, free: 6.668 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003604/0.4944, allocations: 375.5 kB / 0.6566 GB, free: 6.449 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.4946, allocations: 116.9 kB / 0.6567 GB, free: 6.387 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.495, allocations: 175.3 kB / 0.6569 GB, free: 6.285 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.4952, allocations: 172.8 kB / 0.6571 GB, free: 6.188 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.4952, allocations: 16.88 kB / 0.6571 GB, free: 6.188 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000419/0.4956, allocations: 280.5 kB / 0.6574 GB, free: 6.066 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.4957, allocations: 49.41 kB / 0.6574 GB, free: 6.027 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.4958, allocations: 146.2 kB / 0.6575 GB, free: 5.93 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.4963, allocations: 362.8 kB / 0.6579 GB, free: 5.703 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.4963, allocations: 0 / 0.6579 GB, free: 5.703 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4963, allocations: 1.219 kB / 0.6579 GB, free: 5.703 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.4963, allocations: 0 / 0.6579 GB, free: 5.703 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.0007771/0.4971, allocations: 0.5956 MB / 0.6585 GB, free: 5.156 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.4971, allocations: 7.812 kB / 0.6585 GB, free: 5.156 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.4972, allocations: 33.47 kB / 0.6585 GB, free: 5.141 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.4975, allocations: 341 kB / 0.6588 GB, free: 4.828 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.4976, allocations: 10.69 kB / 0.6588 GB, free: 4.824 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.4976, allocations: 22.97 kB / 0.6589 GB, free: 4.816 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.4979, allocations: 226.5 kB / 0.6591 GB, free: 4.664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.498, allocations: 10.67 kB / 0.6591 GB, free: 4.656 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.498, allocations: 8 kB / 0.6591 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.498, allocations: 4.75 kB / 0.6591 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.4982, allocations: 125.7 kB / 0.6592 GB, free: 4.59 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009334/0.4991, allocations: 0.7702 MB / 0.66 GB, free: 3.926 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.4994, allocations: 136.4 kB / 0.6601 GB, free: 3.848 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/0.4995, allocations: 65.5 kB / 0.6602 GB, free: 3.812 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.4997, allocations: 247.1 kB / 0.6604 GB, free: 3.523 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.4997, allocations: 34.56 kB / 0.6604 GB, free: 3.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.4997, allocations: 0 / 0.6604 GB, free: 3.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.001448/0.5012, allocations: 0.9169 MB / 0.6613 GB, free: 2.684 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.5012, allocations: 59.34 kB / 0.6614 GB, free: 2.613 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.5015, allocations: 330.2 kB / 0.6617 GB, free: 2.402 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.5016, allocations: 36.22 kB / 0.6617 GB, free: 2.363 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.5017, allocations: 164.4 kB / 0.6619 GB, free: 2.211 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.5017, allocations: 63.03 kB / 0.662 GB, free: 2.156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.5018, allocations: 31.8 kB / 0.662 GB, free: 2.129 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5019, allocations: 349 kB / 0.6623 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.958e-05/0.502, allocations: 46.27 kB / 0.6624 GB, free: 1.766 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.744e-05/0.5021, allocations: 69.69 kB / 0.6624 GB, free: 1.719 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.5023, allocations: 128.2 kB / 0.6626 GB, free: 1.645 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5023, allocations: 0 / 0.6626 GB, free: 1.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004178/0.5027, allocations: 272.9 kB / 0.6628 GB, free: 1.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.5027, allocations: 8.219 kB / 0.6628 GB, free: 1.477 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5027, allocations: 4.484 kB / 0.6628 GB, free: 1.477 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/0.503, allocations: 88.3 kB / 0.6629 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.462e-05/0.5031, allocations: 23.05 kB / 0.6629 GB, free: 1.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.505, allocations: 1.944 MB / 0.6648 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.483e-05/0.5051, allocations: 2.531 kB / 0.6648 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.5051, allocations: 10.44 kB / 0.6648 GB, free: 15.65 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.0001266/0.5052, allocations: 148.3 kB / 0.665 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.5053, allocations: 31.34 kB / 0.665 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.5058, allocations: 289.1 kB / 0.6653 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5058, allocations: 0 / 0.6653 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5058, allocations: 6.031 kB / 0.6653 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5058, allocations: 0 / 0.6653 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.5065, allocations: 0.6114 MB / 0.6659 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5065, allocations: 0 / 0.6659 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.5066, allocations: 10.78 kB / 0.6659 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002624/0.5069, allocations: 97.17 kB / 0.666 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.5069, allocations: 10.7 kB / 0.666 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.5087, allocations: 1.962 MB / 0.6679 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.5087, allocations: 4.812 kB / 0.6679 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.5093, allocations: 408.8 kB / 0.6683 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.5093, allocations: 108.6 kB / 0.6684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.5094, allocations: 6.688 kB / 0.6684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.5095, allocations: 5.812 kB / 0.6684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.5095, allocations: 9.766 kB / 0.6684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.5096, allocations: 12.77 kB / 0.6685 GB, free: 12.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.5098, allocations: 241.5 kB / 0.6687 GB, free: 12.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5098, allocations: 6.531 kB / 0.6687 GB, free: 12.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000357/0.5102, allocations: 71.97 kB / 0.6688 GB, free: 12.27 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.0002276/0.5104, allocations: 178.4 kB / 0.6689 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005321/0.5109, allocations: 303.2 kB / 0.6692 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5109, allocations: 0 / 0.6692 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.5114, allocations: 248.5 kB / 0.6695 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.5121, allocations: 102.2 kB / 0.6696 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.5132, allocations: 0.7669 MB / 0.6703 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.5135, allocations: 0.7773 MB / 0.6711 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.5136, allocations: 36.36 kB / 0.6711 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.5137, allocations: 22.41 kB / 0.6711 GB, free: 10.34 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.5137, allocations: 0 / 0.6711 GB, free: 10.34 MB / 494.1 MB Notification: Performance of Templates: time 0.009694/0.5234, allocations: 5.212 MB / 0.6762 GB, free: 7.742 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