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.004968/0.004968, allocations: 103 kB / 15.73 MB, free: 6.051 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.00106/0.00106, allocations: 193 kB / 16.67 MB, free: 5.98 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.822/0.822, allocations: 91.18 MB / 381.7 MB, free: 9.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 75.88 kB / 0.5168 GB, free: 9.039 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1261, allocations: 67.69 MB / 0.5829 GB, free: 5.266 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.4384/0.5646, allocations: 141.5 MB / 0.7211 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004421/0.569, allocations: 4.161 MB / 0.7252 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.5693, allocations: 19.88 kB / 0.7252 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006885/0.57, allocations: 157.4 kB / 0.7254 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005362/0.5706, allocations: 206.7 kB / 0.7256 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.571, allocations: 123.6 kB / 0.7257 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000455/0.5715, allocations: 378.3 kB / 0.726 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.5717, allocations: 114.8 kB / 0.7261 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000367/0.5721, allocations: 187.1 kB / 0.7263 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.5723, allocations: 171.3 kB / 0.7265 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.5724, allocations: 16 kB / 0.7265 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005027/0.5729, allocations: 263.5 kB / 0.7267 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.014e-05/0.573, allocations: 47.78 kB / 0.7268 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.5731, allocations: 155.1 kB / 0.7269 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005243/0.5736, allocations: 376.6 kB / 0.7273 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.5737, allocations: 3.938 kB / 0.7273 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5737, allocations: 0 / 0.7273 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.5737, allocations: 0 / 0.7273 GB, free: 4.352 MB / 0.5606 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.0008736/0.5746, allocations: 0.5888 MB / 0.7279 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5746, allocations: 12.03 kB / 0.7279 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.5747, allocations: 40.47 kB / 0.7279 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.5752, allocations: 359.3 kB / 0.7283 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.5752, allocations: 12.75 kB / 0.7283 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.5753, allocations: 28.22 kB / 0.7283 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.5756, allocations: 233.9 kB / 0.7285 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.5756, allocations: 0 / 0.7285 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.5757, allocations: 11.98 kB / 0.7285 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.5757, allocations: 7.938 kB / 0.7286 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.5759, allocations: 127.9 kB / 0.7287 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.5769, allocations: 0.7583 MB / 0.7294 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.5773, allocations: 140.5 kB / 0.7295 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.5774, allocations: 64.84 kB / 0.7296 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.5776, allocations: 243.3 kB / 0.7298 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.5776, allocations: 34.56 kB / 0.7299 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.5776, allocations: 3.938 kB / 0.7299 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001532/0.5792, allocations: 0.9169 MB / 0.7308 GB, free: 468 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.5792, allocations: 55.41 kB / 0.7308 GB, free: 400 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.5795, allocations: 325.7 kB / 0.7311 GB, free: 68 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5795, allocations: 29.7 kB / 0.7312 GB, free: 32 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.5797, allocations: 164.4 kB / 0.7313 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.5797, allocations: 63.09 kB / 0.7314 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.5798, allocations: 29.72 kB / 0.7314 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5799, allocations: 346.8 kB / 0.7317 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.58, allocations: 43.98 kB / 0.7318 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.239e-05/0.5801, allocations: 69.69 kB / 0.7319 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.5803, allocations: 122.9 kB / 0.732 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.5803, allocations: 0 / 0.732 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004496/0.5808, allocations: 277.6 kB / 0.7322 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.5808, allocations: 7.938 kB / 0.7322 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.5808, allocations: 0 / 0.7322 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.5811, allocations: 96.73 kB / 0.7323 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.017e-05/0.5812, allocations: 19.92 kB / 0.7324 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.5832, allocations: 1.95 MB / 0.7343 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.308e-05/0.5833, allocations: 4 kB / 0.7343 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.5833, allocations: 11.94 kB / 0.7343 GB, free: 12.67 MB / 0.5762 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 (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.0001293/0.5835, allocations: 153.7 kB / 0.7344 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.5835, allocations: 31.62 kB / 0.7344 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000506/0.584, allocations: 287.1 kB / 0.7347 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.5841, allocations: 3.938 kB / 0.7347 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.5841, allocations: 7.938 kB / 0.7347 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5841, allocations: 0 / 0.7347 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007573/0.5848, allocations: 0.6152 MB / 0.7353 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5849, allocations: 0 / 0.7353 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.5849, allocations: 15.98 kB / 0.7353 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002738/0.5852, allocations: 92.77 kB / 0.7354 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/0.5852, allocations: 8.875 kB / 0.7354 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.5871, allocations: 1.947 MB / 0.7373 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5871, allocations: 3.938 kB / 0.7374 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005273/0.5877, allocations: 406.2 kB / 0.7377 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.242e-05/0.5878, allocations: 109 kB / 0.7378 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.5878, allocations: 11.94 kB / 0.7379 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.5879, allocations: 0 / 0.7379 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.588, allocations: 27.91 kB / 0.7379 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.588, allocations: 7.984 kB / 0.7379 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000228/0.5882, allocations: 239.2 kB / 0.7381 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5882, allocations: 4 kB / 0.7381 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003614/0.5886, allocations: 76 kB / 0.7382 GB, free: 8.359 MB / 0.5762 GB 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.0002297/0.5888, allocations: 166.8 kB / 0.7384 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005616/0.5894, allocations: 302.5 kB / 0.7386 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5894, allocations: 4 kB / 0.7386 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.5898, allocations: 242.4 kB / 0.7389 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.5904, allocations: 105 kB / 0.739 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.5916, allocations: 0.7088 MB / 0.7397 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.5919, allocations: 0.7795 MB / 0.7404 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.475e-05/0.592, allocations: 34.97 kB / 0.7405 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.5921, allocations: 23.44 kB / 0.7405 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.5921, allocations: 0 / 0.7405 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of Templates: time 0.009752/0.6018, allocations: 5.222 MB / 0.7456 GB, free: 0.7461 MB / 0.5762 GB 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