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.001261/0.001261, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001364/0.001364, allocations: 212.7 kB / 23.01 MB, free: 4.57 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.338/1.338, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.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.7457/0.7457, allocations: 100.3 MB / 413.5 MB, free: 3.668 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 87.08 kB / 0.5645 GB, free: 35.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1207, allocations: 74.47 MB / 0.6372 GB, free: 7.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4467/0.5674, allocations: 141.1 MB / 0.775 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002781/0.5702, allocations: 3.372 MB / 0.7783 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.5705, allocations: 30.97 kB / 0.7783 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.5709, allocations: 132.8 kB / 0.7784 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.5713, allocations: 212.1 kB / 0.7786 GB, free: 116 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.5717, allocations: 205.8 kB / 0.7788 GB, free: 80 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.572, allocations: 398 kB / 0.7792 GB, free: 4 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.5722, allocations: 41.22 kB / 0.7793 GB, free: 16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000454/0.5726, allocations: 237.5 kB / 0.7795 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.5728, allocations: 119 kB / 0.7796 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.5728, allocations: 11.5 kB / 0.7796 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.5732, allocations: 269 kB / 0.7799 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.5733, allocations: 34.12 kB / 0.7799 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/0.5734, allocations: 119.6 kB / 0.78 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004953/0.5739, allocations: 334.5 kB / 0.7803 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5739, allocations: 2.281 kB / 0.7803 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5739, allocations: 0 / 0.7803 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.5739, allocations: 1.594 kB / 0.7803 GB, free: 15.92 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.000809/0.5747, allocations: 0.5105 MB / 0.7808 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.5747, allocations: 8.906 kB / 0.7808 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.363e-05/0.5748, allocations: 36.3 kB / 0.7809 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.5754, allocations: 303.8 kB / 0.7812 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.5755, allocations: 13.06 kB / 0.7812 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.5755, allocations: 15.33 kB / 0.7812 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.5758, allocations: 161 kB / 0.7814 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5758, allocations: 0.8438 kB / 0.7814 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.5758, allocations: 8.641 kB / 0.7814 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.5758, allocations: 2.781 kB / 0.7814 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.5759, allocations: 69.66 kB / 0.7814 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008944/0.5768, allocations: 0.71 MB / 0.7821 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.577, allocations: 77.05 kB / 0.7822 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.182e-05/0.577, allocations: 35.66 kB / 0.7822 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/0.5771, allocations: 11.88 kB / 0.7822 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.5771, allocations: 36.81 kB / 0.7823 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.5772, allocations: 4.469 kB / 0.7823 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006526/0.5778, allocations: 186.2 kB / 0.7825 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.5779, allocations: 78.11 kB / 0.7825 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.5782, allocations: 338 kB / 0.7829 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.5782, allocations: 25.7 kB / 0.7829 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.5783, allocations: 167.2 kB / 0.783 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.5784, allocations: 34.95 kB / 0.7831 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.5784, allocations: 26.06 kB / 0.7831 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5786, allocations: 347.1 kB / 0.7834 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.5786, allocations: 18.02 kB / 0.7834 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.708e-05/0.5787, allocations: 51.55 kB / 0.7835 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.706e-05/0.5788, allocations: 71.56 kB / 0.7836 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5788, allocations: 1.125 kB / 0.7836 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002513/0.579, allocations: 158 kB / 0.7837 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.579, allocations: 9.812 kB / 0.7837 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.579, allocations: 1.281 kB / 0.7837 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/0.5792, allocations: 44.25 kB / 0.7838 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.744e-05/0.5793, allocations: 14.12 kB / 0.7838 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.5812, allocations: 2.555 MB / 0.7863 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.6e-05/0.5813, allocations: 11.3 kB / 0.7863 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.5813, allocations: 8.547 kB / 0.7863 GB, free: 11.21 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.0001257/0.5814, allocations: 133.8 kB / 0.7864 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.5815, allocations: 34.59 kB / 0.7865 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.5818, allocations: 151.4 kB / 0.7866 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.5818, allocations: 2.219 kB / 0.7866 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5818, allocations: 9.297 kB / 0.7866 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5818, allocations: 1.781 kB / 0.7866 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.5824, allocations: 0.5047 MB / 0.7871 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5824, allocations: 5.312 kB / 0.7871 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.5824, allocations: 3.375 kB / 0.7871 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/0.5825, allocations: 44.5 kB / 0.7872 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5825, allocations: 5.156 kB / 0.7872 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.5844, allocations: 2.559 MB / 0.7897 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.5844, allocations: 1.219 kB / 0.7897 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.5847, allocations: 341.2 kB / 0.79 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.5848, allocations: 30.45 kB / 0.79 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.5848, allocations: 5.625 kB / 0.79 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.5849, allocations: 1.312 kB / 0.79 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.585, allocations: 13.91 kB / 0.79 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.585, allocations: 7.812 kB / 0.79 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002661/0.5852, allocations: 243.3 kB / 0.7903 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5852, allocations: 1.797 kB / 0.7903 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003916/0.5856, allocations: 44.97 kB / 0.7903 GB, free: 7.734 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.0002456/0.5859, allocations: 156.1 kB / 0.7905 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004638/0.5863, allocations: 282.5 kB / 0.7907 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5863, allocations: 0.625 kB / 0.7907 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.5866, allocations: 256.8 kB / 0.791 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.5872, allocations: 71.22 kB / 0.7911 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.5882, allocations: 0.6167 MB / 0.7917 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.5887, allocations: 0.7587 MB / 0.7924 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.5887, allocations: 25.19 kB / 0.7924 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.5887, allocations: 0 / 0.7924 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of Templates: time 0.007747/0.5965, allocations: 5.985 MB / 0.7983 GB, free: 5.453 MB / 0.5919 GB " [Timeout remaining time 659] 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/jenkins1/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: 8.717045128112659]