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.001191/0.001191, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.534/1.534, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008561/0.0008563, allocations: 93.05 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8862/0.8862, allocations: 90.35 MB / 405 MB, free: 8.637 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.311e-05, allocations: 4 kB / 479.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4222, allocations: 66.26 MB / 0.5326 GB, free: 28.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.589, allocations: 430.8 MB / 0.9534 GB, free: 159.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/1.59, allocations: 72.67 kB / 0.9534 GB, free: 159.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1269/1.717, allocations: 64.7 MB / 1.017 GB, free: 132.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.483e-06/1.717, allocations: 0 / 1.017 GB, free: 132.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.178e-05/1.717, allocations: 12 kB / 1.017 GB, free: 132.6 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.0008579/1.718, allocations: 0.4962 MB / 1.017 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.718, allocations: 12.03 kB / 1.017 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.804e-05/1.718, allocations: 27.72 kB / 1.017 GB, free: 132 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/1.718, allocations: 237.3 kB / 1.017 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/1.718, allocations: 17.55 kB / 1.017 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/1.718, allocations: 27.61 kB / 1.017 GB, free: 131.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/1.718, allocations: 197.2 kB / 1.018 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/1.718, allocations: 0 / 1.018 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/1.718, allocations: 7.188 kB / 1.018 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/1.718, allocations: 4 kB / 1.018 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/1.719, allocations: 121.9 kB / 1.018 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/1.72, allocations: 1.084 MB / 1.019 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/1.72, allocations: 190.6 kB / 1.019 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/1.72, allocations: 86.33 kB / 1.019 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/1.72, allocations: 249.9 kB / 1.019 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/1.721, allocations: 33.81 kB / 1.019 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/1.721, allocations: 0 / 1.019 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.00111/1.722, allocations: 0.637 MB / 1.02 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/1.722, allocations: 51.41 kB / 1.02 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/1.722, allocations: 154.4 kB / 1.02 GB, free: 129 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/1.722, allocations: 25.7 kB / 1.02 GB, free: 129 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/1.722, allocations: 136.3 kB / 1.02 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/1.722, allocations: 70.98 kB / 1.02 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-06/1.722, allocations: 8 kB / 1.02 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.021e-05/1.722, allocations: 326.8 kB / 1.021 GB, free: 128.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/1.722, allocations: 80.09 kB / 1.021 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/1.722, allocations: 94.06 kB / 1.021 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/1.722, allocations: 91.31 kB / 1.021 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/1.722, allocations: 0 / 1.021 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004288/1.723, allocations: 306.1 kB / 1.021 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.723, allocations: 11.98 kB / 1.021 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.723, allocations: 0 / 1.021 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002957/1.723, allocations: 92.8 kB / 1.021 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/1.723, allocations: 23.92 kB / 1.021 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/1.725, allocations: 1.922 MB / 1.023 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/1.725, allocations: 15.84 kB / 1.023 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/1.725, allocations: 12.03 kB / 1.023 GB, free: 125.6 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 () * 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 7.625e-05/1.725, allocations: 120.7 kB / 1.023 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/1.725, allocations: 15.81 kB / 1.023 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005105/1.726, allocations: 296 kB / 1.024 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/1.726, allocations: 0 / 1.024 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.726, allocations: 7.953 kB / 1.024 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.726, allocations: 4.141 kB / 1.024 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/1.726, allocations: 309.4 kB / 1.024 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/1.726, allocations: 0 / 1.024 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/1.726, allocations: 23.91 kB / 1.024 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002487/1.726, allocations: 100.7 kB / 1.024 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/1.726, allocations: 11.98 kB / 1.024 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/1.728, allocations: 1.913 MB / 1.026 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.728, allocations: 3.953 kB / 1.026 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005264/1.728, allocations: 444.3 kB / 1.026 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/1.728, allocations: 92.83 kB / 1.026 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/1.729, allocations: 12.03 kB / 1.027 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/1.729, allocations: 23.88 kB / 1.027 GB, free: 122 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/1.729, allocations: 11.98 kB / 1.027 GB, free: 122 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/1.729, allocations: 11.98 kB / 1.027 GB, free: 122 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.152e-05/1.729, allocations: 128 kB / 1.027 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.41e-07/1.729, allocations: 4 kB / 1.027 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003977/1.729, allocations: 84 kB / 1.027 GB, free: 121.8 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 () * 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.0003632/1.73, allocations: 256.6 kB / 1.027 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006085/1.73, allocations: 387.3 kB / 1.027 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.73, allocations: 0 / 1.027 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003901/1.731, allocations: 300 kB / 1.028 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/1.731, allocations: 29.66 kB / 1.028 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007152/1.732, allocations: 0.4989 MB / 1.028 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/1.732, allocations: 0.7633 MB / 1.029 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.956e-05/1.732, allocations: 21.48 kB / 1.029 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/1.732, allocations: 15.44 kB / 1.029 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/1.732, allocations: 4 kB / 1.029 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.008523/1.741, allocations: 5.416 MB / 1.034 GB, free: 114.1 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