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.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-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.0119/0.0119, allocations: 172 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.001008/0.001007, allocations: 86.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9191/0.9191, allocations: 90.59 MB / 408.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.000382, allocations: 8 kB / 485.2 MB, free: 2.066 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5237/0.5241, allocations: 66.28 MB / 0.5386 GB, free: 45.5 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8937/1.418, allocations: 430.9 MB / 0.9594 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/1.418, allocations: 80.53 kB / 0.9595 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.5217/1.94, allocations: 64.94 MB / 1.023 GB, free: 195.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.956e-06/1.94, allocations: 4 kB / 1.023 GB, free: 195.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.934e-05/1.94, allocations: 4.578 kB / 1.023 GB, free: 195.8 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.000849/1.941, allocations: 0.5245 MB / 1.023 GB, free: 195.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.941, allocations: 7.906 kB / 1.023 GB, free: 195.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/1.941, allocations: 23.47 kB / 1.023 GB, free: 195.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/1.941, allocations: 246.3 kB / 1.024 GB, free: 195 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/1.941, allocations: 19.56 kB / 1.024 GB, free: 195 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/1.941, allocations: 20.55 kB / 1.024 GB, free: 195 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/1.942, allocations: 188.8 kB / 1.024 GB, free: 194.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.942, allocations: 3.906 kB / 1.024 GB, free: 194.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/1.942, allocations: 8.828 kB / 1.024 GB, free: 194.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/1.942, allocations: 11.86 kB / 1.024 GB, free: 194.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/1.942, allocations: 122.8 kB / 1.024 GB, free: 194.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/1.943, allocations: 1.081 MB / 1.025 GB, free: 193.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/1.943, allocations: 187 kB / 1.025 GB, free: 193.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/1.944, allocations: 251.1 kB / 1.025 GB, free: 193.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/1.944, allocations: 38.5 kB / 1.026 GB, free: 193.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=17): time 2.144e-06/1.944, allocations: 3.938 kB / 1.026 GB, free: 193.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.001576/1.945, allocations: 1.042 MB / 1.027 GB, free: 192.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/1.945, allocations: 55.38 kB / 1.027 GB, free: 192.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/1.945, allocations: 155.8 kB / 1.027 GB, free: 192.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/1.945, allocations: 25.7 kB / 1.027 GB, free: 192.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/1.945, allocations: 135.5 kB / 1.027 GB, free: 192.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/1.946, allocations: 73.22 kB / 1.027 GB, free: 192 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-06/1.946, allocations: 8 kB / 1.027 GB, free: 192 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.489e-05/1.946, allocations: 322.5 kB / 1.027 GB, free: 191.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/1.946, allocations: 78.23 kB / 1.027 GB, free: 191.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/1.946, allocations: 100.6 kB / 1.027 GB, free: 191.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/1.946, allocations: 87.12 kB / 1.028 GB, free: 191.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/1.946, allocations: 0 / 1.028 GB, free: 191.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004521/1.946, allocations: 319.8 kB / 1.028 GB, free: 191.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.946, allocations: 7.281 kB / 1.028 GB, free: 191.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.946, allocations: 3.312 kB / 1.028 GB, free: 191.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/1.947, allocations: 90.06 kB / 1.028 GB, free: 191.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/1.947, allocations: 27.36 kB / 1.028 GB, free: 191.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/1.949, allocations: 1.963 MB / 1.03 GB, free: 189.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/1.949, allocations: 15.72 kB / 1.03 GB, free: 189.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/1.949, allocations: 3.031 kB / 1.03 GB, free: 189.5 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.0001314/1.949, allocations: 153.9 kB / 1.03 GB, free: 189.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/1.949, allocations: 15.62 kB / 1.03 GB, free: 189.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/1.949, allocations: 292.8 kB / 1.03 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.949, allocations: 0 / 1.03 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/1.949, allocations: 7.594 kB / 1.03 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.949, allocations: 0 / 1.03 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/1.95, allocations: 312.1 kB / 1.031 GB, free: 188.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.95, allocations: 0 / 1.031 GB, free: 188.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/1.95, allocations: 11.73 kB / 1.031 GB, free: 188.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002517/1.95, allocations: 108.1 kB / 1.031 GB, free: 188.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/1.95, allocations: 7.938 kB / 1.031 GB, free: 188.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/1.952, allocations: 1.972 MB / 1.033 GB, free: 187.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.952, allocations: 0 / 1.033 GB, free: 187.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/1.952, allocations: 464 kB / 1.033 GB, free: 186.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/1.952, allocations: 94.95 kB / 1.033 GB, free: 186.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/1.952, allocations: 7.656 kB / 1.033 GB, free: 186.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/1.952, allocations: 11.56 kB / 1.033 GB, free: 186.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/1.952, allocations: 19.53 kB / 1.033 GB, free: 186.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/1.953, allocations: 3.781 kB / 1.033 GB, free: 186.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.35e-05/1.953, allocations: 140.6 kB / 1.033 GB, free: 186.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/1.953, allocations: 0 / 1.033 GB, free: 186.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004319/1.953, allocations: 90.95 kB / 1.034 GB, free: 186.5 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.0004091/1.953, allocations: 253.9 kB / 1.034 GB, free: 186.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006549/1.954, allocations: 385.4 kB / 1.034 GB, free: 186.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.954, allocations: 4 kB / 1.034 GB, free: 186.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004067/1.955, allocations: 307.5 kB / 1.034 GB, free: 185.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/1.955, allocations: 33.22 kB / 1.034 GB, free: 185.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009232/1.956, allocations: 0.7428 MB / 1.035 GB, free: 185.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/1.956, allocations: 0.7662 MB / 1.036 GB, free: 184.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.63e-05/1.956, allocations: 24.59 kB / 1.036 GB, free: 184.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/1.956, allocations: 15.22 kB / 1.036 GB, free: 184.5 MB / 0.5886 GB Notification: Performance of SimCode: time 3.7e-07/1.956, allocations: 0 / 1.036 GB, free: 184.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.008511/1.965, allocations: 5.109 MB / 1.041 GB, free: 181.4 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