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.001095/0.001095, allocations: 172.2 kB / 16.11 MB, free: 5.688 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.185/1.185, allocations: 205 MB / 221.9 MB, free: 9.137 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.0006952/0.0006952, allocations: 86.03 kB / 269.9 MB, free: 8.664 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.5912/0.5912, allocations: 90.51 MB / 408.3 MB, free: 3.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002728, allocations: 11.94 kB / 484.8 MB, free: 7.215 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.227, allocations: 65.81 MB / 0.5378 GB, free: 34.86 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1191/0.3461, allocations: 137.9 MB / 0.6725 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003742/0.3499, allocations: 4.106 MB / 0.6765 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.35, allocations: 11.88 kB / 0.6765 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.3504, allocations: 127.4 kB / 0.6766 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.3508, allocations: 179 kB / 0.6768 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.351, allocations: 103.7 kB / 0.6769 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.3513, allocations: 354.3 kB / 0.6772 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.3515, allocations: 88.11 kB / 0.6773 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.3517, allocations: 131.4 kB / 0.6774 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.3519, allocations: 155.4 kB / 0.6776 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.352, allocations: 8 kB / 0.6776 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004418/0.3524, allocations: 299.4 kB / 0.6779 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.3525, allocations: 43.77 kB / 0.6779 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.886e-05/0.3526, allocations: 103.5 kB / 0.678 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.3529, allocations: 307 kB / 0.6783 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.3529, allocations: 0 / 0.6783 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.353, allocations: 0 / 0.6783 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.353, allocations: 0 / 0.6783 GB, free: 6.504 MB / 0.4948 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.0006926/0.3537, allocations: 490.7 kB / 0.6788 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3537, allocations: 12.03 kB / 0.6788 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/0.3538, allocations: 28.66 kB / 0.6788 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.354, allocations: 248.5 kB / 0.679 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.354, allocations: 16.31 kB / 0.6791 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.3541, allocations: 28.27 kB / 0.6791 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.3544, allocations: 202.5 kB / 0.6793 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3544, allocations: 0 / 0.6793 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.3544, allocations: 4 kB / 0.6793 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.3545, allocations: 12 kB / 0.6793 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.3547, allocations: 124.3 kB / 0.6794 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3557, allocations: 1.082 MB / 0.6805 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.3561, allocations: 182.4 kB / 0.6806 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.3562, allocations: 84.81 kB / 0.6807 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.3564, allocations: 247.3 kB / 0.681 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.3564, allocations: 38.56 kB / 0.681 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.3564, allocations: 0 / 0.681 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.00153/0.358, allocations: 0.9618 MB / 0.6819 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.358, allocations: 59.34 kB / 0.682 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.3582, allocations: 175.2 kB / 0.6822 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3582, allocations: 25.7 kB / 0.6822 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.3582, allocations: 136.4 kB / 0.6823 GB, free: 1.934 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.3583, allocations: 70.94 kB / 0.6824 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.3583, allocations: 4 kB / 0.6824 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3584, allocations: 330.8 kB / 0.6827 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.896e-05/0.3585, allocations: 63.92 kB / 0.6828 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3587, allocations: 81.69 kB / 0.6828 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.3589, allocations: 153.7 kB / 0.683 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3589, allocations: 4 kB / 0.683 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00044/0.3594, allocations: 281.9 kB / 0.6833 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3594, allocations: 8 kB / 0.6833 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3594, allocations: 0 / 0.6833 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002828/0.3597, allocations: 92.73 kB / 0.6834 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.513e-05/0.3598, allocations: 19.98 kB / 0.6834 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1811/0.5409, allocations: 1.795 MB / 0.6851 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.541, allocations: 21.64 kB / 0.6852 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.5411, allocations: 9.625 kB / 0.6852 GB, free: 143.3 MB / 0.4948 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 (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.0001106/0.5412, allocations: 142.6 kB / 0.6853 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.5412, allocations: 17.88 kB / 0.6853 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.5418, allocations: 287.3 kB / 0.6856 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.5418, allocations: 1.078 kB / 0.6856 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5418, allocations: 0.75 kB / 0.6856 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.5418, allocations: 89.86 kB / 0.6857 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.5418, allocations: 7.672 kB / 0.6857 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.542, allocations: 11.73 kB / 0.6857 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.542, allocations: 26.5 kB / 0.6857 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007076/0.5427, allocations: 372.3 kB / 0.6861 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004385/0.5432, allocations: 483.7 kB / 0.6865 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000118/0.5433, allocations: 75.48 kB / 0.6866 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.268e-05/0.5434, allocations: 134.3 kB / 0.6867 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of Backend: time 5.92e-07/0.5434, allocations: 0 / 0.6867 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009132/0.5443, allocations: 478.7 kB / 0.6872 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of SimCode: time 0.000924/0.5453, allocations: 1.183 MB / 0.6883 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.00758/0.5529, allocations: 3.947 MB / 0.6922 GB, free: 140.7 MB / 0.4948 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