Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.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.001302/0.001302, allocations: 79.75 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001509/0.001509, allocations: 162.9 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.9519/0.9519, allocations: 116 MB / 375.2 MB, free: 7.547 MB / 350.1 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.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.567e-06/3.567e-06, allocations: 0 / 0.5538 GB, free: 13.79 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.617e-05/5.973e-05, allocations: 2.281 kB / 0.5538 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1631/0.1631, allocations: 122.7 MB / 0.6736 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.1652, allocations: 1.452 MB / 0.675 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.1655, allocations: 31.69 kB / 0.6751 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005756/0.1661, allocations: 127 kB / 0.6752 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005606/0.1666, allocations: 226.5 kB / 0.6754 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.1672, allocations: 211.1 kB / 0.6756 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005302/0.1677, allocations: 441.9 kB / 0.676 GB, free: 104 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1678, allocations: 36.91 kB / 0.676 GB, free: 68 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007041/0.1686, allocations: 303 kB / 0.6763 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1688, allocations: 111.6 kB / 0.6764 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.1688, allocations: 8 kB / 0.6765 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004342/0.1692, allocations: 223.5 kB / 0.6767 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.1693, allocations: 39.73 kB / 0.6767 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.15e-05/0.1694, allocations: 71.78 kB / 0.6768 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006054/0.17, allocations: 338.8 kB / 0.6771 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.17, allocations: 0 / 0.6771 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.17, allocations: 0 / 0.6771 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.17, allocations: 0 / 0.6771 GB, free: 14.99 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000892/0.1709, allocations: 0.5163 MB / 0.6776 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1709, allocations: 12.03 kB / 0.6776 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.171, allocations: 36.7 kB / 0.6776 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006558/0.1717, allocations: 322.6 kB / 0.678 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1717, allocations: 12.59 kB / 0.678 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.1717, allocations: 12.38 kB / 0.678 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.172, allocations: 143.2 kB / 0.6781 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.172, allocations: 4.125 kB / 0.6781 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.172, allocations: 16.11 kB / 0.6781 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.172, allocations: 8 kB / 0.6781 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.1721, allocations: 71.91 kB / 0.6782 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008667/0.173, allocations: 0.6449 MB / 0.6788 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1732, allocations: 69.14 kB / 0.6789 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.504e-05/0.1732, allocations: 37.89 kB / 0.6789 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.056e-05/0.1733, allocations: 15.92 kB / 0.679 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.1734, allocations: 38.56 kB / 0.679 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1734, allocations: 4 kB / 0.679 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006856/0.174, allocations: 175.3 kB / 0.6792 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.1741, allocations: 77.11 kB / 0.6792 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.1745, allocations: 301.7 kB / 0.6795 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1745, allocations: 25.7 kB / 0.6795 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.1746, allocations: 172.3 kB / 0.6797 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.1747, allocations: 31.7 kB / 0.6797 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.1747, allocations: 33.7 kB / 0.6798 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.1749, allocations: 342.7 kB / 0.6801 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.791e-05/0.175, allocations: 23.94 kB / 0.6801 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.17e-05/0.1751, allocations: 43.42 kB / 0.6802 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1752, allocations: 75.73 kB / 0.6802 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1752, allocations: 0 / 0.6802 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002926/0.1755, allocations: 155 kB / 0.6804 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1755, allocations: 12.06 kB / 0.6804 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1755, allocations: 0 / 0.6804 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002354/0.1757, allocations: 37.7 kB / 0.6804 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.1758, allocations: 15.98 kB / 0.6804 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.1782, allocations: 2.497 MB / 0.6829 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.1783, allocations: 11.91 kB / 0.6829 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.1783, allocations: 4 kB / 0.6829 GB, free: 8.578 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.1784, allocations: 133.8 kB / 0.683 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.1785, allocations: 35.77 kB / 0.6831 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/0.1788, allocations: 159.8 kB / 0.6832 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1788, allocations: 0 / 0.6832 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1788, allocations: 4 kB / 0.6832 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1788, allocations: 7.938 kB / 0.6832 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/0.1794, allocations: 476.6 kB / 0.6837 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1794, allocations: 0 / 0.6837 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-05/0.1795, allocations: 4 kB / 0.6837 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/0.1796, allocations: 45.81 kB / 0.6837 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1796, allocations: 4 kB / 0.6837 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/0.182, allocations: 2.501 MB / 0.6862 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.182, allocations: 8.016 kB / 0.6862 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.1824, allocations: 338 kB / 0.6865 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.1824, allocations: 27.81 kB / 0.6865 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.1824, allocations: 4 kB / 0.6865 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1826, allocations: 11.92 kB / 0.6865 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.1826, allocations: 4 kB / 0.6866 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.1826, allocations: 8.203 kB / 0.6866 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002421/0.1829, allocations: 223.2 kB / 0.6868 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1829, allocations: 0 / 0.6868 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004219/0.1833, allocations: 51.89 kB / 0.6868 GB, free: 4.238 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003761/0.1836, allocations: 157.7 kB / 0.687 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005685/0.1842, allocations: 285.4 kB / 0.6872 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1842, allocations: 0 / 0.6872 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003994/0.1846, allocations: 245.4 kB / 0.6875 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007413/0.1854, allocations: 73.62 kB / 0.6875 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.1866, allocations: 0.5418 MB / 0.6881 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.1868, allocations: 151.5 kB / 0.6882 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.136e-05/0.1869, allocations: 30.28 kB / 0.6883 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.1869, allocations: 20.5 kB / 0.6883 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.1869, allocations: 0 / 0.6883 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of Templates: time 0.2696/0.4565, allocations: 3.44 MB / 0.6916 GB, free: 142.6 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.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.9312515668570995]