Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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_OM_adaptions_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_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000843/0.000843, allocations: 178.7 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 225.7 MB / 241.9 MB, free: 388 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007998/0.0007998, allocations: 93.27 kB / 293.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6204/0.6204, allocations: 90.99 MB / 435.2 MB, free: 24.42 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000268/0.0002681, allocations: 16 kB / 0.503 GB, free: 9.398 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2745, allocations: 69.1 MB / 0.5704 GB, free: 45.63 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1183/0.3928, allocations: 130.4 MB / 0.6977 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003981/0.3968, allocations: 4.544 MB / 0.7022 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.397, allocations: 4 kB / 0.7022 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.3974, allocations: 135.3 kB / 0.7023 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.3977, allocations: 175 kB / 0.7025 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.3979, allocations: 103.7 kB / 0.7026 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.3983, allocations: 346.4 kB / 0.7029 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.3984, allocations: 90 kB / 0.703 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.3987, allocations: 127.5 kB / 0.7031 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.3989, allocations: 155.4 kB / 0.7032 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.3989, allocations: 8 kB / 0.7033 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004747/0.3994, allocations: 303.3 kB / 0.7035 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.258e-05/0.3994, allocations: 35.84 kB / 0.7036 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.3995, allocations: 129.2 kB / 0.7037 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.3999, allocations: 313.1 kB / 0.704 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3999, allocations: 0 / 0.704 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3999, allocations: 0 / 0.704 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3999, allocations: 0 / 0.704 GB, free: 2.75 MB / 0.4948 GB 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.0006628/0.4006, allocations: 0.4908 MB / 0.7045 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.4006, allocations: 15.98 kB / 0.7045 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.4007, allocations: 24.66 kB / 0.7045 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.4009, allocations: 240.5 kB / 0.7047 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.401, allocations: 20.38 kB / 0.7048 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.401, allocations: 16.38 kB / 0.7048 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.4013, allocations: 202.1 kB / 0.705 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4013, allocations: 0 / 0.705 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.4014, allocations: 7.938 kB / 0.705 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.4014, allocations: 12 kB / 0.705 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.4016, allocations: 128.3 kB / 0.7051 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.4026, allocations: 1.082 MB / 0.7062 GB, free: 288 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.403, allocations: 182.5 kB / 0.7063 GB, free: 96 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.4031, allocations: 80.83 kB / 0.7064 GB, free: 12 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.4033, allocations: 255.3 kB / 0.7067 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.4033, allocations: 34.56 kB / 0.7067 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.4033, allocations: 0 / 0.7067 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.001481/0.4048, allocations: 0.9576 MB / 0.7076 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.4048, allocations: 51.41 kB / 0.7077 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.405, allocations: 179.1 kB / 0.7079 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.405, allocations: 33.7 kB / 0.7079 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.4051, allocations: 132.3 kB / 0.708 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.426e-05/0.4051, allocations: 63.11 kB / 0.7081 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.4052, allocations: 0 / 0.7081 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.4053, allocations: 330.8 kB / 0.7084 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.4054, allocations: 59.97 kB / 0.7084 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.4055, allocations: 83.5 kB / 0.7085 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.4057, allocations: 162.7 kB / 0.7087 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4057, allocations: 0 / 0.7087 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004351/0.4061, allocations: 283 kB / 0.709 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.4061, allocations: 4 kB / 0.709 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4062, allocations: 4 kB / 0.709 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.4065, allocations: 84.8 kB / 0.709 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/0.4066, allocations: 27.92 kB / 0.7091 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.4083, allocations: 1.808 MB / 0.7108 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.124e-05/0.4084, allocations: 12.05 kB / 0.7108 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.4084, allocations: 7.984 kB / 0.7109 GB, free: 11.1 MB / 0.5105 GB 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001129/0.4085, allocations: 141.8 kB / 0.711 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.4086, allocations: 15.81 kB / 0.711 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.4091, allocations: 287.9 kB / 0.7113 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4091, allocations: 4 kB / 0.7113 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4091, allocations: 4.281 kB / 0.7113 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4091, allocations: 3.938 kB / 0.7113 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.4094, allocations: 301.5 kB / 0.7116 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4094, allocations: 3.938 kB / 0.7116 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.4095, allocations: 12 kB / 0.7116 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002639/0.4098, allocations: 100.6 kB / 0.7117 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.4098, allocations: 15.98 kB / 0.7117 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.4114, allocations: 1.804 MB / 0.7135 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4115, allocations: 7.938 kB / 0.7135 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.412, allocations: 447.7 kB / 0.7139 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.4121, allocations: 92.92 kB / 0.714 GB, free: 7.648 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.4121, allocations: 4 kB / 0.714 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.4122, allocations: 16.03 kB / 0.714 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.4123, allocations: 7.984 kB / 0.714 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4123, allocations: 11.98 kB / 0.714 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.362e-05/0.4124, allocations: 125.2 kB / 0.7141 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4124, allocations: 3.938 kB / 0.7142 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003118/0.4127, allocations: 84.27 kB / 0.7142 GB, free: 7.402 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002181/0.413, allocations: 175.3 kB / 0.7144 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006001/0.4136, allocations: 369 kB / 0.7148 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4136, allocations: 3.938 kB / 0.7148 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004214/0.414, allocations: 296.2 kB / 0.715 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.4144, allocations: 39.91 kB / 0.7151 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009464/0.4153, allocations: 0.7409 MB / 0.7158 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.4156, allocations: 0.7635 MB / 0.7165 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.685e-05/0.4157, allocations: 17.48 kB / 0.7166 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.4157, allocations: 15.44 kB / 0.7166 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of SimCode: time 2e-07/0.4157, allocations: 0 / 0.7166 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of Templates: time 0.007048/0.4228, allocations: 3.921 MB / 0.7204 GB, free: 0.9883 MB / 0.5105 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches