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) 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_dev_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_dev_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.001241/0.001241, allocations: 104.9 kB / 15.98 MB, free: 6.34 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.001234/0.001234, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.446/1.446, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8354/0.8354, allocations: 93.7 MB / 384.4 MB, free: 5.473 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 83.86 kB / 463.5 MB, free: 6.508 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1509, allocations: 68.27 MB / 0.5194 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3667/0.5176, allocations: 139.9 MB / 0.656 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005111/0.5228, allocations: 4.192 MB / 0.6601 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004078/0.5232, allocations: 19.88 kB / 0.6601 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005944/0.5239, allocations: 147.2 kB / 0.6602 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.5244, allocations: 187 kB / 0.6604 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.5248, allocations: 123.6 kB / 0.6605 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004749/0.5253, allocations: 402.2 kB / 0.6609 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.5255, allocations: 106.6 kB / 0.661 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003768/0.5259, allocations: 191 kB / 0.6612 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.5261, allocations: 175.2 kB / 0.6614 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.5262, allocations: 16 kB / 0.6614 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005063/0.5267, allocations: 279.4 kB / 0.6616 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.297e-05/0.5268, allocations: 47.78 kB / 0.6617 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.5269, allocations: 143.2 kB / 0.6618 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.5273, allocations: 279.9 kB / 0.6621 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5274, allocations: 3.984 kB / 0.6621 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5274, allocations: 0 / 0.6621 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.5274, allocations: 0 / 0.6621 GB, free: 13.32 MB / 0.5137 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.0009797/0.5284, allocations: 0.607 MB / 0.6627 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.5284, allocations: 12.03 kB / 0.6627 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.5285, allocations: 33.31 kB / 0.6627 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.5289, allocations: 339.3 kB / 0.6631 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.529, allocations: 16.75 kB / 0.6631 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.803e-05/0.529, allocations: 28.22 kB / 0.6631 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.5294, allocations: 225.8 kB / 0.6633 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5295, allocations: 4 kB / 0.6633 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.5295, allocations: 8 kB / 0.6633 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.5295, allocations: 5.875 kB / 0.6633 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.5297, allocations: 132.7 kB / 0.6635 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.5309, allocations: 0.7619 MB / 0.6642 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.5312, allocations: 137.3 kB / 0.6643 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.5314, allocations: 72.83 kB / 0.6644 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.5316, allocations: 248.3 kB / 0.6646 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.5316, allocations: 34.56 kB / 0.6647 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.5316, allocations: 3.938 kB / 0.6647 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.00173/0.5334, allocations: 0.9089 MB / 0.6656 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.5334, allocations: 59.41 kB / 0.6656 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.5339, allocations: 337.7 kB / 0.6659 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.5339, allocations: 25.7 kB / 0.666 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.534, allocations: 172.3 kB / 0.6661 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.5341, allocations: 59.19 kB / 0.6662 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/0.5342, allocations: 29.72 kB / 0.6662 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5344, allocations: 342.8 kB / 0.6665 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.158e-05/0.5345, allocations: 57 kB / 0.6666 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.5346, allocations: 62.22 kB / 0.6667 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.5348, allocations: 127.5 kB / 0.6668 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5348, allocations: 4 kB / 0.6668 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005017/0.5353, allocations: 273.7 kB / 0.667 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5353, allocations: 8 kB / 0.667 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5354, allocations: 0 / 0.667 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003494/0.5357, allocations: 94 kB / 0.6671 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.5358, allocations: 19.94 kB / 0.6672 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.5381, allocations: 1.944 MB / 0.6691 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.987e-05/0.5382, allocations: 12.75 kB / 0.6691 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.5382, allocations: 4 kB / 0.6691 GB, free: 5.641 MB / 0.5137 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.0001644/0.5384, allocations: 145.8 kB / 0.6692 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.5385, allocations: 31.62 kB / 0.6692 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005633/0.539, allocations: 291.1 kB / 0.6695 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5391, allocations: 4 kB / 0.6695 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5391, allocations: 3.938 kB / 0.6695 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.5391, allocations: 0 / 0.6695 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008672/0.5399, allocations: 0.6223 MB / 0.6701 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.54, allocations: 4.812 kB / 0.6701 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.54, allocations: 4 kB / 0.6701 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003136/0.5403, allocations: 102.6 kB / 0.6702 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.5404, allocations: 8 kB / 0.6702 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.5426, allocations: 1.953 MB / 0.6722 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5426, allocations: 0 / 0.6722 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.5432, allocations: 417.3 kB / 0.6726 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.5433, allocations: 108.8 kB / 0.6727 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.5434, allocations: 8.562 kB / 0.6727 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.5435, allocations: 4 kB / 0.6727 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.5435, allocations: 15.92 kB / 0.6727 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.5436, allocations: 4 kB / 0.6727 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002808/0.5438, allocations: 251.2 kB / 0.6729 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5438, allocations: 4 kB / 0.6729 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004045/0.5443, allocations: 80 kB / 0.673 GB, free: 1.34 MB / 0.5137 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.0002826/0.5445, allocations: 170.4 kB / 0.6732 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006261/0.5452, allocations: 296.3 kB / 0.6734 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5452, allocations: 4 kB / 0.6735 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.5456, allocations: 250.6 kB / 0.6737 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.5463, allocations: 94.55 kB / 0.6738 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.5477, allocations: 0.8432 MB / 0.6746 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.5481, allocations: 0.7805 MB / 0.6754 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.5482, allocations: 23.44 kB / 0.6754 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.5482, allocations: 0 / 0.6754 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of Templates: time 0.0104/0.5586, allocations: 5.971 MB / 0.6812 GB, free: 8.984 MB / 0.5294 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.makefile (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) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches