Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 176 kB / 16.12 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.4 MB / 222.3 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007681/0.0007682, allocations: 84.73 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.6873/0.6873, allocations: 89.62 MB / 408.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003888, allocations: 16 kB / 485.2 MB, free: 7.609 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3009, allocations: 66 MB / 0.5383 GB, free: 34.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9504/1.251, allocations: 430.8 MB / 0.959 GB, free: 196.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/1.252, allocations: 83.94 kB / 0.9591 GB, free: 196.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1114/1.363, allocations: 64.32 MB / 1.022 GB, free: 131.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.124e-06/1.363, allocations: 0 / 1.022 GB, free: 131.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.001e-05/1.363, allocations: 8 kB / 1.022 GB, free: 131.3 MB / 0.5886 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.000846/1.364, allocations: 0.526 MB / 1.022 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/1.364, allocations: 12.03 kB / 1.022 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/1.364, allocations: 28.59 kB / 1.022 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/1.364, allocations: 248.6 kB / 1.023 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/1.365, allocations: 12.33 kB / 1.023 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/1.365, allocations: 20.38 kB / 1.023 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/1.365, allocations: 195 kB / 1.023 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/1.365, allocations: 7.938 kB / 1.023 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/1.365, allocations: 4 kB / 1.023 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/1.365, allocations: 8 kB / 1.023 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/1.365, allocations: 124.3 kB / 1.023 GB, free: 130.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009806/1.366, allocations: 1.074 MB / 1.024 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/1.366, allocations: 186.4 kB / 1.024 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/1.367, allocations: 100.7 kB / 1.024 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/1.367, allocations: 247.3 kB / 1.025 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/1.367, allocations: 34.55 kB / 1.025 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=17): time 1.834e-06/1.367, allocations: 4 kB / 1.025 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.001437/1.368, allocations: 0.9704 MB / 1.026 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/1.368, allocations: 51.41 kB / 1.026 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/1.368, allocations: 179.2 kB / 1.026 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/1.368, allocations: 25.7 kB / 1.026 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/1.369, allocations: 144.3 kB / 1.026 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/1.369, allocations: 59.09 kB / 1.026 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/1.369, allocations: 4 kB / 1.026 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.593e-05/1.369, allocations: 330.8 kB / 1.026 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.832e-05/1.369, allocations: 75.95 kB / 1.026 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/1.369, allocations: 93.67 kB / 1.027 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/1.369, allocations: 181.6 kB / 1.027 GB, free: 126 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/1.369, allocations: 0 / 1.027 GB, free: 126 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004113/1.369, allocations: 309.9 kB / 1.027 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.37, allocations: 7.938 kB / 1.027 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.37, allocations: 0 / 1.027 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/1.37, allocations: 96.83 kB / 1.027 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-05/1.37, allocations: 23.98 kB / 1.027 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/1.371, allocations: 1.929 MB / 1.029 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.742e-05/1.372, allocations: 12.03 kB / 1.029 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/1.372, allocations: 8 kB / 1.029 GB, free: 123.4 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.372, allocations: 141.5 kB / 1.029 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/1.372, allocations: 15.81 kB / 1.029 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004495/1.372, allocations: 298.8 kB / 1.029 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.372, allocations: 4 kB / 1.029 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.372, allocations: 0 / 1.029 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/1.372, allocations: 3.938 kB / 1.029 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/1.373, allocations: 313.4 kB / 1.03 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.373, allocations: 0 / 1.03 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-05/1.373, allocations: 15.98 kB / 1.03 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/1.373, allocations: 112.7 kB / 1.03 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/1.373, allocations: 11.94 kB / 1.03 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/1.374, allocations: 1.921 MB / 1.032 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.374, allocations: 0 / 1.032 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005119/1.375, allocations: 459.7 kB / 1.032 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/1.375, allocations: 96.89 kB / 1.032 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/1.375, allocations: 8 kB / 1.032 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/1.375, allocations: 19.92 kB / 1.032 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/1.375, allocations: 11.98 kB / 1.032 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/1.375, allocations: 11.98 kB / 1.032 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.56e-05/1.375, allocations: 129.2 kB / 1.032 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.51e-07/1.375, allocations: 0 / 1.032 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004166/1.376, allocations: 91.98 kB / 1.033 GB, free: 119.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (splitterN.outlets[1].m_flow,splitterN.outlets[2].m_flow,splitterN.outlets[3].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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003478/1.376, allocations: 263.3 kB / 1.033 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006537/1.377, allocations: 388.1 kB / 1.033 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.377, allocations: 0 / 1.033 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004113/1.377, allocations: 304.2 kB / 1.033 GB, free: 118.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/1.378, allocations: 41.14 kB / 1.034 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/1.379, allocations: 0.7547 MB / 1.034 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/1.379, allocations: 0.7519 MB / 1.035 GB, free: 117 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.433e-05/1.379, allocations: 29.47 kB / 1.035 GB, free: 117 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/1.379, allocations: 19.44 kB / 1.035 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of SimCode: time 2e-07/1.379, allocations: 0 / 1.035 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.00869/1.388, allocations: 5.139 MB / 1.04 GB, free: 111.8 MB / 0.5886 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