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: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 108 kB / 15.61 MB, free: 152 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.00121/0.00121, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.323/1.323, 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.6943/0.6943, allocations: 91.2 MB / 381.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 80.75 kB / 460.4 MB, free: 23.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1106, allocations: 67.69 MB / 0.5157 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3648/0.4754, allocations: 141.5 MB / 0.6539 GB, free: 8.613 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004447/0.4799, allocations: 4.163 MB / 0.658 GB, free: 5.254 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.4802, allocations: 16.84 kB / 0.658 GB, free: 5.246 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005752/0.4808, allocations: 155.8 kB / 0.6581 GB, free: 5.121 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000544/0.4814, allocations: 200.6 kB / 0.6583 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.4818, allocations: 130 kB / 0.6585 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004571/0.4822, allocations: 377.5 kB / 0.6588 GB, free: 4.637 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.4825, allocations: 109.2 kB / 0.6589 GB, free: 4.578 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003993/0.4829, allocations: 172.4 kB / 0.6591 GB, free: 4.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.4832, allocations: 171.8 kB / 0.6593 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.4832, allocations: 18.25 kB / 0.6593 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005923/0.4838, allocations: 278.9 kB / 0.6595 GB, free: 4.262 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.618e-05/0.4839, allocations: 44.77 kB / 0.6596 GB, free: 4.227 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.4841, allocations: 139.7 kB / 0.6597 GB, free: 4.137 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005424/0.4846, allocations: 371.6 kB / 0.6601 GB, free: 3.902 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4846, allocations: 0 / 0.6601 GB, free: 3.902 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4846, allocations: 0 / 0.6601 GB, free: 3.902 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.4847, allocations: 0 / 0.6601 GB, free: 3.902 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.0009287/0.4856, allocations: 0.5898 MB / 0.6606 GB, free: 3.359 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4856, allocations: 10.09 kB / 0.6607 GB, free: 3.359 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.271e-05/0.4857, allocations: 57.52 kB / 0.6607 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.4858, allocations: 32.12 kB / 0.6607 GB, free: 3.285 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.4863, allocations: 340.7 kB / 0.6611 GB, free: 2.969 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.4863, allocations: 12.66 kB / 0.6611 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.4863, allocations: 24.67 kB / 0.6611 GB, free: 2.953 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.4867, allocations: 220.5 kB / 0.6613 GB, free: 2.809 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4868, allocations: 4 kB / 0.6613 GB, free: 2.805 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.4868, allocations: 10.91 kB / 0.6613 GB, free: 2.797 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4868, allocations: 6.797 kB / 0.6613 GB, free: 2.793 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.487, allocations: 131.6 kB / 0.6615 GB, free: 2.73 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.4882, allocations: 0.7724 MB / 0.6622 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.4885, allocations: 133.2 kB / 0.6623 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4886, allocations: 70.27 kB / 0.6624 GB, free: 1.949 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.4888, allocations: 255 kB / 0.6626 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.4889, allocations: 33.12 kB / 0.6627 GB, free: 1.613 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.4889, allocations: 0 / 0.6627 GB, free: 1.613 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.001548/0.4904, allocations: 0.9132 MB / 0.6636 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.4905, allocations: 57.94 kB / 0.6636 GB, free: 0.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.4908, allocations: 326.2 kB / 0.6639 GB, free: 0.543 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.4908, allocations: 25.7 kB / 0.664 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.4909, allocations: 175.6 kB / 0.6641 GB, free: 360 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.491, allocations: 55.98 kB / 0.6642 GB, free: 308 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/0.4911, allocations: 34.14 kB / 0.6642 GB, free: 280 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4912, allocations: 342.6 kB / 0.6645 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.046e-05/0.4913, allocations: 46.34 kB / 0.6646 GB, free: 15.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.624e-05/0.4914, allocations: 72.14 kB / 0.6647 GB, free: 15.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.4916, allocations: 127 kB / 0.6648 GB, free: 15.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4916, allocations: 0 / 0.6648 GB, free: 15.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004662/0.4921, allocations: 269.7 kB / 0.665 GB, free: 15.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4921, allocations: 7.219 kB / 0.665 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4921, allocations: 0 / 0.665 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/0.4924, allocations: 99.16 kB / 0.6651 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.4925, allocations: 24.52 kB / 0.6652 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.4945, allocations: 1.943 MB / 0.6671 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.392e-05/0.4946, allocations: 14.53 kB / 0.6671 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.4946, allocations: 4.75 kB / 0.6671 GB, free: 13.79 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.0001347/0.4948, allocations: 152.2 kB / 0.6672 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.4948, allocations: 35.52 kB / 0.6673 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/0.4953, allocations: 283.5 kB / 0.6675 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4953, allocations: 2.094 kB / 0.6675 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4954, allocations: 6.469 kB / 0.6675 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4954, allocations: 3.984 kB / 0.6675 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000792/0.4962, allocations: 0.6206 MB / 0.6681 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4962, allocations: 2.219 kB / 0.6681 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.4962, allocations: 10.28 kB / 0.6682 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002982/0.4965, allocations: 98.05 kB / 0.6682 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.4966, allocations: 2.75 kB / 0.6682 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.4985, allocations: 1.954 MB / 0.6702 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4985, allocations: 3.938 kB / 0.6702 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/0.499, allocations: 406.5 kB / 0.6705 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.4991, allocations: 104.5 kB / 0.6706 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.4992, allocations: 10.23 kB / 0.6707 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.4993, allocations: 10.94 kB / 0.6707 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.4993, allocations: 11.45 kB / 0.6707 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.4993, allocations: 2.125 kB / 0.6707 GB, free: 10.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002295/0.4996, allocations: 250.7 kB / 0.6709 GB, free: 10.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4996, allocations: 11.88 kB / 0.6709 GB, free: 10.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003656/0.5, allocations: 74.75 kB / 0.671 GB, free: 10.39 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.0009311/0.5009, allocations: 1.018 MB / 0.672 GB, free: 9.512 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005515/0.5015, allocations: 293.8 kB / 0.6723 GB, free: 9.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5015, allocations: 0 / 0.6723 GB, free: 9.309 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.5019, allocations: 251.8 kB / 0.6725 GB, free: 9.113 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.5025, allocations: 103.8 kB / 0.6726 GB, free: 9.062 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.5061, allocations: 3.097 MB / 0.6756 GB, free: 6.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.5065, allocations: 0.7783 MB / 0.6764 GB, free: 6.039 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.5066, allocations: 39.31 kB / 0.6764 GB, free: 6.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.5067, allocations: 87.62 kB / 0.6765 GB, free: 5.945 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5067, allocations: 0 / 0.6765 GB, free: 5.945 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07981/0.5865, allocations: 8.745 MB / 0.6851 GB, free: 1.324 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.567/10.15, allocations: 7.938 kB / 0.6851 GB, free: 1.316 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches