Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001612/0.001612, allocations: 77.23 kB / 19.76 MB, free: 2.035 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.001711/0.001711, allocations: 160.8 kB / 23.01 MB, free: 4.945 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.398/1.398, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7153/0.7153, allocations: 74.91 MB / 334.7 MB, free: 15.52 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_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_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.002581/0.002581, allocations: 88.03 kB / 496.4 MB, free: 29.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1203, allocations: 73.03 MB / 0.5561 GB, free: 15.47 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1501/0.2704, allocations: 121 MB / 0.6742 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00393/0.2744, allocations: 3.063 MB / 0.6772 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.2746, allocations: 27.69 kB / 0.6772 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005228/0.2751, allocations: 127.2 kB / 0.6773 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004976/0.2756, allocations: 198.8 kB / 0.6775 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.2761, allocations: 203.3 kB / 0.6777 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004628/0.2766, allocations: 394.4 kB / 0.6781 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.2767, allocations: 40.84 kB / 0.6781 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005199/0.2773, allocations: 238.9 kB / 0.6784 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.2774, allocations: 111.4 kB / 0.6785 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.2775, allocations: 8 kB / 0.6785 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004036/0.2779, allocations: 223.6 kB / 0.6787 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.2779, allocations: 39.78 kB / 0.6787 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.278, allocations: 83.36 kB / 0.6788 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004848/0.2785, allocations: 330.6 kB / 0.6791 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2785, allocations: 3.984 kB / 0.6791 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2785, allocations: 0 / 0.6791 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2785, allocations: 0 / 0.6791 GB, free: 0.9375 MB / 0.5762 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.000773/0.2793, allocations: 0.5007 MB / 0.6796 GB, free: 412 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.2794, allocations: 20.02 kB / 0.6796 GB, free: 392 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.2794, allocations: 28.75 kB / 0.6797 GB, free: 364 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/0.28, allocations: 312.9 kB / 0.68 GB, free: 28 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.28, allocations: 8.609 kB / 0.68 GB, free: 20 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.2801, allocations: 12.38 kB / 0.68 GB, free: 8 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.2803, allocations: 151.5 kB / 0.6801 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2803, allocations: 8 kB / 0.6801 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.2804, allocations: 4 kB / 0.6801 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.2804, allocations: 4 kB / 0.6802 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.2805, allocations: 71.91 kB / 0.6802 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000796/0.2813, allocations: 0.6449 MB / 0.6808 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.2814, allocations: 69.23 kB / 0.6809 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.2815, allocations: 41.67 kB / 0.681 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.586e-05/0.2816, allocations: 8 kB / 0.681 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.2816, allocations: 46.53 kB / 0.681 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.2816, allocations: 0 / 0.681 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006323/0.2822, allocations: 171.1 kB / 0.6812 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.2823, allocations: 81.11 kB / 0.6812 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.2826, allocations: 276.6 kB / 0.6815 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.2826, allocations: 25.7 kB / 0.6815 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.2827, allocations: 175.9 kB / 0.6817 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.2828, allocations: 39.73 kB / 0.6817 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.2828, allocations: 25.7 kB / 0.6818 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.283, allocations: 342.8 kB / 0.6821 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/0.283, allocations: 19.98 kB / 0.6821 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.736e-05/0.2831, allocations: 43.44 kB / 0.6822 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.2832, allocations: 75.3 kB / 0.6822 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2832, allocations: 0 / 0.6822 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002673/0.2834, allocations: 159.1 kB / 0.6824 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2835, allocations: 4 kB / 0.6824 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2835, allocations: 3.938 kB / 0.6824 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.2837, allocations: 41.7 kB / 0.6824 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.2837, allocations: 11.98 kB / 0.6824 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.2858, allocations: 2.514 MB / 0.6849 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.2859, allocations: 7.969 kB / 0.6849 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.2859, allocations: 8 kB / 0.6849 GB, free: 10.57 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.000129/0.286, allocations: 125.8 kB / 0.685 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.675e-05/0.2861, allocations: 36.06 kB / 0.6851 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.2864, allocations: 163.3 kB / 0.6852 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.2864, allocations: 0 / 0.6852 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2864, allocations: 0 / 0.6852 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2864, allocations: 0 / 0.6852 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.2869, allocations: 468.7 kB / 0.6857 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2869, allocations: 0 / 0.6857 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/0.2869, allocations: 12.11 kB / 0.6857 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/0.2871, allocations: 41.64 kB / 0.6857 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.2871, allocations: 4 kB / 0.6857 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.289, allocations: 2.52 MB / 0.6882 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.289, allocations: 4.031 kB / 0.6882 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.2893, allocations: 330 kB / 0.6885 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.2894, allocations: 35.67 kB / 0.6885 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.2894, allocations: 4 kB / 0.6885 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.2895, allocations: 4 kB / 0.6885 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.2895, allocations: 8.203 kB / 0.6885 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.2896, allocations: 11.94 kB / 0.6886 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002067/0.2898, allocations: 203.1 kB / 0.6888 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2898, allocations: 0 / 0.6888 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003845/0.2901, allocations: 55.89 kB / 0.6888 GB, free: 6.254 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.0002278/0.2904, allocations: 147.1 kB / 0.6889 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004311/0.2908, allocations: 281.3 kB / 0.6892 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2908, allocations: 3.938 kB / 0.6892 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.2911, allocations: 257.2 kB / 0.6895 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.2915, allocations: 33.42 kB / 0.6895 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009724/0.2925, allocations: 0.5767 MB / 0.6901 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.2926, allocations: 151.5 kB / 0.6902 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.824e-05/0.2927, allocations: 21.94 kB / 0.6902 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.2927, allocations: 20.5 kB / 0.6902 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.2927, allocations: 0 / 0.6902 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of Templates: time 0.007274/0.3, allocations: 2.736 MB / 0.6929 GB, free: 1.973 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.684829844045453]