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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000775/0.000775, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007744/0.0007744, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8483/0.8483, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6063/0.6063, allocations: 116 MB / 376 MB, free: 4.203 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 3.938 kB / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.529e-05, allocations: 3.828 kB / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3488/0.3489, allocations: 124.5 MB / 0.676 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3501, allocations: 1.425 MB / 0.6774 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.3502, allocations: 30.66 kB / 0.6774 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.3506, allocations: 140.4 kB / 0.6776 GB, free: 7.352 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.351, allocations: 234.8 kB / 0.6778 GB, free: 7.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.3512, allocations: 136.1 kB / 0.6779 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.3517, allocations: 462.1 kB / 0.6784 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3518, allocations: 64.66 kB / 0.6784 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003902/0.3522, allocations: 277.9 kB / 0.6787 GB, free: 7.285 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.3524, allocations: 154 kB / 0.6788 GB, free: 7.285 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.3525, allocations: 17.88 kB / 0.6789 GB, free: 7.285 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.3528, allocations: 223.5 kB / 0.6791 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.3528, allocations: 59.88 kB / 0.6791 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.616e-05/0.3529, allocations: 94.72 kB / 0.6792 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.3533, allocations: 404.8 kB / 0.6796 GB, free: 7.242 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3533, allocations: 1.062 kB / 0.6796 GB, free: 7.242 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3533, allocations: 1.203 kB / 0.6796 GB, free: 7.242 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3533, allocations: 0 / 0.6796 GB, free: 7.242 MB / 0.5573 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.000609/0.3539, allocations: 0.5554 MB / 0.6801 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.354, allocations: 8.781 kB / 0.6802 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.354, allocations: 48.61 kB / 0.6802 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.3543, allocations: 317 kB / 0.6805 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.3543, allocations: 14.84 kB / 0.6805 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.3544, allocations: 23.98 kB / 0.6805 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.3546, allocations: 222 kB / 0.6808 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3546, allocations: 192 / 0.6808 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.3546, allocations: 13.66 kB / 0.6808 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3546, allocations: 10.12 kB / 0.6808 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.3548, allocations: 130.2 kB / 0.6809 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.3554, allocations: 0.6373 MB / 0.6815 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.3556, allocations: 132.8 kB / 0.6817 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.232e-05/0.3556, allocations: 60.58 kB / 0.6817 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.895e-05/0.3557, allocations: 21.3 kB / 0.6817 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.085e-05/0.3557, allocations: 33.31 kB / 0.6818 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.022e-06/0.3557, allocations: 0 / 0.6818 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.0008693/0.3566, allocations: 0.6074 MB / 0.6824 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.3566, allocations: 55.69 kB / 0.6824 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.3568, allocations: 270.1 kB / 0.6827 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-06/0.3568, allocations: 34.3 kB / 0.6827 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.3568, allocations: 182.7 kB / 0.6829 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.3569, allocations: 65.36 kB / 0.6829 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.3569, allocations: 32.81 kB / 0.683 GB, free: 5.551 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.994e-05/0.3569, allocations: 344.1 kB / 0.6833 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.357, allocations: 47.75 kB / 0.6833 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.3571, allocations: 66.53 kB / 0.6834 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3572, allocations: 122.6 kB / 0.6835 GB, free: 5.203 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3572, allocations: 0 / 0.6835 GB, free: 5.203 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002479/0.3574, allocations: 262.7 kB / 0.6838 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.3574, allocations: 5.391 kB / 0.6838 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3574, allocations: 3.078 kB / 0.6838 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.3576, allocations: 98.73 kB / 0.6839 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.021e-05/0.3577, allocations: 25.95 kB / 0.6839 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.3587, allocations: 1.801 MB / 0.6857 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.626e-05/0.3587, allocations: 4.75 kB / 0.6857 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3587, allocations: 4.656 kB / 0.6857 GB, free: 3.887 MB / 0.5573 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 8.16e-05/0.3588, allocations: 143.5 kB / 0.6858 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.3589, allocations: 33.94 kB / 0.6858 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.3591, allocations: 278.1 kB / 0.6861 GB, free: 3.66 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.3591, allocations: 1.219 kB / 0.6861 GB, free: 3.66 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.3591, allocations: 2.219 kB / 0.6861 GB, free: 3.66 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.3592, allocations: 2.531 kB / 0.6861 GB, free: 3.66 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/0.3596, allocations: 0.5385 MB / 0.6866 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3596, allocations: 1.094 kB / 0.6866 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.3596, allocations: 9.281 kB / 0.6866 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.3597, allocations: 99.3 kB / 0.6867 GB, free: 3.359 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3597, allocations: 9.297 kB / 0.6867 GB, free: 3.359 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009316/0.3607, allocations: 1.813 MB / 0.6885 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3607, allocations: 2 kB / 0.6885 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.361, allocations: 403.2 kB / 0.6889 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.361, allocations: 41.94 kB / 0.6889 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.361, allocations: 3.938 kB / 0.6889 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.615e-05/0.3611, allocations: 7.297 kB / 0.689 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.3611, allocations: 15.02 kB / 0.689 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.3611, allocations: 4.5 kB / 0.689 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00011/0.3612, allocations: 206 kB / 0.6892 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.1e-08/0.3612, allocations: 0 / 0.6892 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002354/0.3615, allocations: 78.47 kB / 0.6892 GB, free: 1.828 MB / 0.5573 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.0001679/0.3616, allocations: 164.7 kB / 0.6894 GB, free: 1.723 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003427/0.362, allocations: 304.1 kB / 0.6897 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.362, allocations: 0 / 0.6897 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.3622, allocations: 229.5 kB / 0.6899 GB, free: 1.461 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.3625, allocations: 77.03 kB / 0.69 GB, free: 1.453 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.3631, allocations: 0.6881 MB / 0.6907 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.752e-05/0.3632, allocations: 179.5 kB / 0.6908 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.3633, allocations: 21.22 kB / 0.6908 GB, free: 0.9297 MB / 0.5573 GB Notification: Performance of SimCode: time 5.41e-07/0.3633, allocations: 4 kB / 0.6908 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of Templates: time 0.005246/0.3685, allocations: 5.794 MB / 0.6965 GB, free: 104 kB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.makefile [Timeout 660] (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) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.633240680210292]