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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] 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=1000,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=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008541/0.008541, allocations: 98.42 kB / 15.73 MB, free: 6.43 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.002115/0.002115, allocations: 191.8 kB / 16.67 MB, free: 6.336 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7514/0.7514, allocations: 93.69 MB / 384.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 83.84 kB / 0.5204 GB, free: 5.801 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1309, allocations: 68.27 MB / 0.5871 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.4038/0.5347, allocations: 141.5 MB / 0.7253 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005131/0.5399, allocations: 4.175 MB / 0.7294 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003072/0.5402, allocations: 19.88 kB / 0.7294 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006404/0.5409, allocations: 151 kB / 0.7295 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006083/0.5415, allocations: 214.7 kB / 0.7297 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.5419, allocations: 123.6 kB / 0.7299 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005298/0.5425, allocations: 414.1 kB / 0.7302 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.5427, allocations: 103.4 kB / 0.7303 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003753/0.5431, allocations: 191.2 kB / 0.7305 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.5434, allocations: 171.2 kB / 0.7307 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.5434, allocations: 20 kB / 0.7307 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.544, allocations: 267.5 kB / 0.731 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/0.5441, allocations: 51.77 kB / 0.731 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.5442, allocations: 147.2 kB / 0.7312 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005962/0.5448, allocations: 386.9 kB / 0.7315 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5448, allocations: 0 / 0.7315 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.507e-06/0.5449, allocations: 3.984 kB / 0.7315 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.5449, allocations: 0 / 0.7315 GB, free: 14.54 MB / 0.5762 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.0009452/0.5458, allocations: 0.6074 MB / 0.7321 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.5459, allocations: 15.97 kB / 0.7321 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.5459, allocations: 40.7 kB / 0.7322 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.5465, allocations: 379.5 kB / 0.7325 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.5465, allocations: 16.75 kB / 0.7326 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.5466, allocations: 16.38 kB / 0.7326 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.547, allocations: 225.8 kB / 0.7328 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.547, allocations: 0 / 0.7328 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.547, allocations: 11.94 kB / 0.7328 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.547, allocations: 8 kB / 0.7328 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.5473, allocations: 123.9 kB / 0.7329 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.5484, allocations: 0.7694 MB / 0.7337 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.5487, allocations: 142.4 kB / 0.7338 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.5488, allocations: 72.83 kB / 0.7339 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/0.5491, allocations: 247.3 kB / 0.7341 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5491, allocations: 30.56 kB / 0.7341 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.5491, allocations: 0 / 0.7341 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001676/0.5508, allocations: 0.9235 MB / 0.735 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.5508, allocations: 63.34 kB / 0.7351 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.5512, allocations: 333.6 kB / 0.7354 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.5512, allocations: 29.7 kB / 0.7355 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.5514, allocations: 172.4 kB / 0.7356 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/0.5514, allocations: 67.45 kB / 0.7357 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.5515, allocations: 33.72 kB / 0.7357 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5517, allocations: 346.8 kB / 0.736 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.756e-05/0.5518, allocations: 51.94 kB / 0.7361 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.953e-05/0.5519, allocations: 68.27 kB / 0.7362 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.5521, allocations: 117.7 kB / 0.7363 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5521, allocations: 4 kB / 0.7363 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004893/0.5526, allocations: 280.4 kB / 0.7365 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.5526, allocations: 9.875 kB / 0.7366 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5526, allocations: 0 / 0.7366 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003231/0.5529, allocations: 96.67 kB / 0.7366 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.553, allocations: 19.98 kB / 0.7367 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.5553, allocations: 1.935 MB / 0.7386 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.211e-05/0.5554, allocations: 11.94 kB / 0.7386 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.5555, allocations: 8 kB / 0.7386 GB, free: 6.777 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.0001691/0.5556, allocations: 137.9 kB / 0.7387 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.5557, allocations: 35.77 kB / 0.7387 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005662/0.5563, allocations: 296.4 kB / 0.739 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5563, allocations: 4 kB / 0.739 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5563, allocations: 3.938 kB / 0.739 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.5563, allocations: 0 / 0.739 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009087/0.5572, allocations: 0.6195 MB / 0.7396 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5572, allocations: 4 kB / 0.7396 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.5573, allocations: 7.984 kB / 0.7396 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000318/0.5576, allocations: 100.8 kB / 0.7397 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.5576, allocations: 4 kB / 0.7397 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.5598, allocations: 1.963 MB / 0.7417 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5598, allocations: 6.25 kB / 0.7417 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.5604, allocations: 414.4 kB / 0.7421 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.606e-05/0.5605, allocations: 100.9 kB / 0.7422 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.5606, allocations: 11.94 kB / 0.7422 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.5607, allocations: 0 / 0.7422 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.5607, allocations: 24.02 kB / 0.7422 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.5608, allocations: 4 kB / 0.7422 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002684/0.561, allocations: 251.2 kB / 0.7424 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.561, allocations: 0 / 0.7424 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003818/0.5614, allocations: 79.94 kB / 0.7425 GB, free: 2.457 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.0002453/0.5617, allocations: 166.3 kB / 0.7427 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006098/0.5623, allocations: 310.3 kB / 0.743 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.5623, allocations: 4 kB / 0.743 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.5627, allocations: 230.5 kB / 0.7432 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006327/0.5634, allocations: 106.2 kB / 0.7433 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.5646, allocations: 0.7179 MB / 0.744 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.5651, allocations: 0.7832 MB / 0.7448 GB, free: 76 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.5652, allocations: 42.84 kB / 0.7448 GB, free: 32 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/0.5652, allocations: 27.44 kB / 0.7448 GB, free: 4 kB / 0.5762 GB Notification: Performance of SimCode: time 3.5e-07/0.5652, allocations: 0 / 0.7448 GB, free: 4 kB / 0.5762 GB Notification: Performance of Templates: time 0.01082/0.5761, allocations: 5.257 MB / 0.75 GB, free: 10.78 MB / 0.5919 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.makefile [Timeout 660] (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) [Timeout 1200] 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) [Timeout 660] Reference file matches